post https://api.fonestorm.com/v2/calls/send_notify
Configure the callback URL to notify when an outbound call is made. Each FoneNumber can be configured to use its own callback URL for handling send notifications.
This endpoint is used to set up a callback whenever an outgoing call is made.
{
"fonenumber": {
"fonenumber": "5559991000",
"sms_options": {
...
},
"voice_options": {
...
},
"fax_options": {
...
},
...
}
}
Response Properties
Property | Type | Description |
---|---|---|
fonenumber | object | FoneNumber |
Callback Data
Parameter | Type | Description |
---|---|---|
account_code | string | Account billed for call |
direction | string | OUTBOUND or INBOUND |
status | string | BEGIN or END |
from | string | Unique identifier for the call. |
to | string | Unique identifier for the call. |
type | string | VOICE or FAX |
disposition | string | One of the following:
|
uid | string | Unique identifier for the call. |
For more information, see Callbacks / Web Hooks.