> For the complete documentation index, see [llms.txt](https://standards.spdci.org/standards/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://standards.spdci.org/standards/dci-standards/early-warning-systems/wip-early-warning-systems-and-sp-system-interface/9.-ews/api/api.ews.03-syn-fetchphonenumbers.md).

# API.EWS.03 SYN FetchPhoneNumbers

The **Phone Number Retrieval API** facilitates the secure retrieval of beneficiary phone numbers from the Social Protection (SP) system to support targeted communication during emergencies or awareness campaigns initiated by the Early Warning System (EWS). Through this interface, the EWS can request phone numbers associated with beneficiaries that meet specific criteria such as geographic location, program participation, or vulnerability category. The API follows the principle of **data minimization**, returning only the phone numbers required for communication and not exposing full personal or household records.

**API definition link:**

`/fetch-phone-numbers`\
The EWS system can request phone numbers from the SP system using defined search parameters such as geographic area, program participation, or other targeting criteria. The SP system returns only the phone numbers necessary for communication purposes.

Please refer to GitHub for YAML object definitions:\
**YAML definitions**

**Note:** The above YAML is consolidated. For any changes, kindly raise a pull request on GitHub.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://standards.spdci.org/standards/dci-standards/early-warning-systems/wip-early-warning-systems-and-sp-system-interface/9.-ews/api/api.ews.03-syn-fetchphonenumbers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
