Set CDR Callback

Configure the callback URL to notify when a call dialing record is available.

Set CDR callback to receive Call Records at the end of every calls to or from fonenumbers in your account.

Notes

account_id

10 digit account code

method

This parameter specifies the methods used for the callback and its data.

  • GET returns data through query string parameters on a GET to the given URL.
  • POST returns data through query string parameters on a POST to the given URL, with a full set of data in a JSON-encoded structure in the body. The request will have a header of application/x-www-form-urlencoded
  • JSON returns data through query string parameters on a POST to the given URL, with a full set of data in a JSON-encoded structure in the body. The request will have a header of application/json

url

The url parameter contains the URL to be called when the event takes place. The full URL, including the protocol (https://) needs to be provided (URLs with valid SSL certificates are supported only.).

username and password

Callbacks support optional HTTP Basic authentication. If the username and password parameters are provided, the corresponding authentication headers will be included in callback execution.

For more information, see Callbacks / Web Hooks.

Response Properties
PropertyTypeDescription
accountobjectAccount
Language
Authorization
Header
Click Try It! to start a request and see the response here!