Overview
| ENDPOINT | /admin/api/nexbro/v1/call/extensions |
| Methods Supported | GET |
| Description | This endpoint is used to retrieve the list of extensions configured in Nexbro, including user extensions, queue extensions, IVR menu extensions, ring group extensions, and more. |
Response Codes
The following response codes are returned by the API.
| HTTP CODE | Summary | Description |
| 200 | HTTP_OK | Returned when the extensions fetch request is processed successfully. |
| 500 | INTERNAL_SERVER_ERROR | Returned when an unexpected error occurs on the server while processing the request. |
Example
cURL
Copy to clipboard
curl --location 'https://your-nexbro-domain.com/admin/api/nexbro/v1/extensions' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: sk_live_tTD9RQfK2q2pdsqIEIca53y3gkGll1brp0mWLMeG6vnmrDHYZ1ThOupslBHg'
Response
Copy to clipboard
{
"message": "Success.",
"data": {
"extensions": [
1000,
1001,
1002,
1003,
1004
],
"queues": [
"2000",
"2001",
"2002",
"2003",
"2004"
],
"ivr_menus": [
"3000",
"3001",
"3002",
"3003",
"3004"
],
"ring_groups": [
"4000",
"4001",
"4002",
"4003",
"4004"
]
}
}