post https://api.fonestorm.com/v2/calls/receive_notify
Configure the callback URL to notify when a call is received. Each FoneNumber can be configured to use its own callback URL for handling receive notifications.
This endpoint is used to set up a callback whenever an incoming call is received.
{
"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.