Phone Numbers
Get Phone Numbers
AI Assistants
Multi-Task Assistants
Campaigns
Phone Numbers
Get Phone Numbers
Returns all phone numbers from the system that the user has access to
GET
/
phone-numbers
curl --request GET \
--url https://api.puretalk.ai/api/phone-numbers \
--header 'X-API-KEY: <api-key>'
{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"user": {
"name": "<string>",
"dp": "<string>",
"email": "[email protected]"
},
"ai_assistant": {
"assistant_id": "<string>",
"name": "<string>",
"variables": [
"<string>"
]
},
"additional_data": {
"postal_code": "<string>",
"capabilities": {
"voice": true,
"SMS": true,
"MMS": true
},
"locality": "<string>",
"region": "<string>",
"iso_country": "<string>"
},
"phone_number_id": "<string>",
"phone_number": "<string>",
"friendly_name": "<string>",
"provider": "<string>",
"provider_id": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
Query Parameters
The page number to return
The maximum number of results to return
Response
200
application/json
Phone numbers response
Was this page helpful?
curl --request GET \
--url https://api.puretalk.ai/api/phone-numbers \
--header 'X-API-KEY: <api-key>'
{
"count": 123,
"next": "<string>",
"previous": "<string>",
"results": [
{
"user": {
"name": "<string>",
"dp": "<string>",
"email": "[email protected]"
},
"ai_assistant": {
"assistant_id": "<string>",
"name": "<string>",
"variables": [
"<string>"
]
},
"additional_data": {
"postal_code": "<string>",
"capabilities": {
"voice": true,
"SMS": true,
"MMS": true
},
"locality": "<string>",
"region": "<string>",
"iso_country": "<string>"
},
"phone_number_id": "<string>",
"phone_number": "<string>",
"friendly_name": "<string>",
"provider": "<string>",
"provider_id": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}