List all extensions
This action will return a list of all extensions configured in the given unit.
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/extensions/list
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied
error will be returned.
Parameters
Parameter | Type | Default |
---|---|---|
unit_id The ID of the unit |
Integer | null |
sort_field The field to order extensions by |
String | name |
order The order to return the extensions |
String | ASC |
Errors
Error | Attributes |
---|---|
UnitNotFound The given unit was not found |
|
Response Data
This action will return an array of extension structures.
You'll receive all extended data with this structure, by default.
You can change this behaviour by passing true or false in the _full
parameter on the request.
By default, you'll receive all expansions for the structure. You remove any/all of them by
providing an array of new expansion names in the _expansions
parameter on the
request.