Create an extension
This action will create a new extension
Try this request in your browser
URL
https://connectapi.dial9.co.uk/api/v2/extensions/create
Access
Must be authenticated as a user or API token.
If not authorised, a AccessDenied
error will be returned.
Parameters
Parameter | Type | Default |
---|---|---|
name The name of the extension |
String | null |
username The SIP username for the extension |
String | null |
password The SIP password for the extension |
String | null |
voicemail_box_id The ID of the associated voicemail box |
Integer | null |
noanswer_timeout The length of time to wait before directing to the no answer destination |
Integer | null |
exten The extension number |
String | null |
outbound_number_id The ID of the associated outbound number |
Integer | null |
recording_enabled Whether or not recording is enabled |
Integer | null |
noanswer_destination_type The type of the no answer destination |
String | null |
noanswer_destination_id The ID of the no answer destination |
Integer | null |
pickup_group_id The ID of the associated pickup group |
Integer | null |
paging_enabled Whether or not paging is enabled |
Integer | null |
compatibility_mode Whether or not compatability mode is enabled |
Integer | null |
unit_id The ID of the unit |
Integer | null |
Errors
Error | Attributes |
---|---|
UnitNotFound The given unit was not found |
|
Response Data
This action will return a extension structure.
You'll receive all attributes for this structure (basic and extended attributes). You'll receive all expansions for this stucture.