Create Cloud Telephony Webhook

Create a new webhook configuration for the Cloud Telephony service. The account must have Cloud Telephony.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This endpoint allows you to create a new webhook configuration for the Cloud Telephony service (up to 10 webhooks maximum). identity_id is all for every number or one of your Cloud Telephony numbers (e.g. 919000000001) for calls on that number only.

Body Params
string
required

Webhook Name - Friendly label for the webhook configuration

string
Defaults to all

Select Number - all for every Cloud Telephony number, or one of your numbers (e.g. 919000000001) for calls on that number only.

string
enum
required
Defaults to custom

Select Format - Webhook format to use. Cloud Telephony has the Standard Webhook format ('custom').

Allowed:
string
enum
required
Defaults to all

Select Event - Which call events trigger the webhook.

string
enum
required
Defaults to POST

Method - HTTP method to invoke.

Allowed:
string
required

URL - Target endpoint URL to send payloads to (public http:// or https:// address).

string
enum
required
Defaults to application/json

Content-Type - Target encoding format for payload transmission.

Allowed:
string
enum
required
Defaults to standard

X-Payload-Transform - Payload transform type. Shown only when Content-Type is Form URL Encoded.

Allowed:
string
enum
required
Defaults to active

Webhook Status - Whether the webhook trigger is active (active/inactive).

Allowed:
string

Body - Custom payload template (JSON/XML) with placeholders like @{{call_id}}, @{{status}}, @{{recording_url}}. Left out with Content-Type JSON, every call variable is sent as its own key.

headers
object

Key-value pairs of custom headers to forward with the payload

string
enum
required
Defaults to SIMPLIFIED

Payload formatting level

Allowed:
Headers
string
required
Defaults to YOUR_API_KEY

Provide "YOUR_API_KEY".

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json