Skip to main content
PUT
/
v1
/
calls
/
settings
Update calling settings
curl --request PUT \
  --url https://pilotstatus.com.br/v1/calls/settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "status": "ENABLED"
}
'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

Your ps_ API key

Body

application/json
status
string

Enable/disable calling on the number.

Example:

"ENABLED"

call_icon_visibility
string

Visibility of the call icon in the user's WhatsApp.

Example:

"DEFAULT"

callback_permission_status
string

Lets the user ask the business to call back.

Example:

"ENABLED"

call_hours
object

Calling hours window (REPLACES the whole object).

Response

Enable calling