Skip to main content
POST
/
v1
/
calls
/
permissions
/
request
Request call permission
curl --request POST \
  --url https://pilotstatus.com.br/v1/calls/permissions/request \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "to": "+5511999999999",
  "text": "Podemos te ligar?"
}
'
{
  "messageId": "wamid.HBgM..."
}

Authorizations

x-api-key
string
header
required

Your ps_ API key

Body

application/json
to
string
required

User phone number.

Example:

"+5511999999999"

text
string

Reason shown on the request (optional).

Example:

"Podemos te ligar para finalizar seu pedido?"

Response

Request permission