get https://api-account-uk.acefone.com/v1/my_number
This API fetches a list of all the My Numbers.
Sample Request
curl --request GET \
--url https://api-account-uk.acefone.com/v1/my_number \
--header 'accept: application/json' \
--header 'content-type: application/json'
📘 Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Sample Response
[
{
"id": "26300",
"name": "name for a number",
"description": "description for a number",
"alias": "918968964862",
"did": "+918045406079",
"destination": "agent||05033104116",
"destination_name": "chhavya",
"sms_templates": "",
"product_broadcast": true
}
]
Response Variables
The response returned is as following:
Variable Name | Description | Data Type |
---|---|---|
id | The Unique Identifier of the number. | Boolean |
name | Name for the number. | String |
description | Description for the number. | |
alias | Agent number or alias against which the number is configured. | String |
did | Actual number that is mapped to the agent’s number. | String |
destination | Type of destination where the number is routed to, for example: ivr, agent, etc. | String |
destination_name | Name of the destination. | String |
sms_templates | SMS template that is associated to the number. | String |