Calling

Endpoints for WhatsApp calling features

Perform Call Action

post

Execute call actions: pre_accept, accept, reject, or connect for incoming calls.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Call action executed successfully

application/json

Response payload for a call action execution

messaging_productstringOptionalExample: whatsapp
successbooleanOptionalExample: true
post
/calling/calls

Get Call Permissions

get

Retrieve calling permissions for a specific consumer WhatsApp ID.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Path parameters
consumer_whatsapp_idstringRequired

Consumer WhatsApp ID

Responses
chevron-right
200

Call permissions retrieved successfully

application/json

Response payload containing call permission status and available actions

messaging_productstringOptionalExample: whatsapp
get
/calling/permissions/{consumer_whatsapp_id}

Get Calling Settings

get

Retrieve calling settings including SIP credentials for WhatsApp calling functionality.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Responses
chevron-right
200

Calling settings retrieved successfully

application/json

Response payload containing phone number settings including calling, encryption, and storage configuration

get
/calling/settings

Update Calling Settings

post

Update calling settings for WhatsApp calling functionality.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
chevron-right
200

Calling settings updated successfully

application/json

Response payload for successful settings update

successbooleanOptionalExample: true
post
/calling/settings

Last updated

Was this helpful?