API Reference
WhatsApp Messaging

Get a contact's WhatsApp call permission

GET
/v1/whatsapp/call-permissions

Returns whether a contact has granted permission for you to call them on WhatsApp. A contact with no recorded permission comes back as no_permission — absence is a meaningful answer here, not a 404.

Pass live=true to additionally check with Meta and refresh the stored value. A failed live check degrades to the stored value rather than failing the request.

API-key scope: whatsapp.messages.

Authorization

bearerAuth
AuthorizationBearer <token>

Long-lived ES256 JWT minted from the dashboard (https://app.sautikit.com/developers/api-keys). Signed by the platform keyring. Carries workspace_id and scopes claims; revoked via the platform deny-list.

In: header

Query Parameters

wa_id*string

The contact's WhatsApp id.

connection_id*string

The WhatsApp connection the contact belongs to.

Formatuuid
live?boolean

Also perform a live check with Meta and persist the result.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/whatsapp/call-permissions?wa_id=254700000001&connection_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",  "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",  "wa_id": "254700000001",  "status": "string",  "is_permanent": true,  "expires_at": "2019-08-24T14:15:22Z",  "last_requested_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ]  }}