# ElevenLabs API endpoints

#### Get info by phone

**POST** [https://advocateabroad.com/api/labs/phone-info/](https://advocateabroad.com/api/labs/phone-info/)

**Authentication: Basic-auth**

##### **Params**

<table border="1" id="bkmrk-called_number-phone-" style="border-collapse: collapse; width: 100%; height: 60.2188px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 30.1094px;"><td style="height: 30.1094px;">`called_number`</td><td style="height: 30.1094px;">Phone number client calling.</td></tr><tr style="height: 30.1094px;"><td style="height: 30.1094px;">`caller_id`</td><td style="height: 30.1094px;">Caller phone number.</td></tr></tbody></table>

##### **Response**

<table border="1" id="bkmrk-param-description-va" style="border-collapse: collapse; width: 100%; height: 324.547px;"><colgroup><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col></colgroup><thead><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Param**</td><td style="height: 29.7969px;">**Description**</td><td style="height: 29.7969px;">**Values**</td></tr></thead><tbody><tr style="height: 47.2188px;"><td style="height: 47.2188px;">`caller_phone`

`phone_number`

</td><td style="height: 47.2188px;">Caller phone number.</td><td style="height: 47.2188px;">  
</td></tr><tr style="height: 30.1094px;"><td style="height: 30.1094px;">`called_phone`</td><td style="height: 30.1094px;">Phone number client calling.</td><td style="height: 30.1094px;">  
</td></tr><tr style="height: 30.1094px;"><td style="height: 30.1094px;">`service`</td><td style="height: 30.1094px;">The service user needs. </td><td style="height: 30.1094px;">Default value "Legal assistance".</td></tr><tr style="height: 47.2188px;"><td style="height: 47.2188px;">`service_country`

`service_area`

</td><td style="height: 47.2188px;">The country where user needs service.</td><td style="height: 47.2188px;">Default value "unknown".</td></tr><tr style="height: 46.5938px;"><td style="height: 46.5938px;">`service_city`</td><td style="height: 46.5938px;">The specific location where user needs service.</td><td style="height: 46.5938px;">Default value "unknown".</td></tr><tr style="height: 63.3906px;"><td style="height: 63.3906px;">`location`</td><td style="height: 63.3906px;">City or country name where user needs service. Weather service\_country or service\_city full hierarchy string.</td><td style="height: 63.3906px;">Example:

Spain, Andalusia, Cazorla

</td></tr><tr style="height: 30.1094px;"><td style="height: 30.1094px;">`number_type`</td><td style="height: 30.1094px;">Called number type.</td><td style="height: 30.1094px;">uk\_us, national, local, local\_spain</td></tr><tr><td>`country_context`</td><td>Country name if number\_type = "national".</td><td>  
</td></tr><tr><td>`spain_location`</td><td>If country is Spain showing city name if available.</td><td>  
</td></tr></tbody></table>

  
Link