API Reference
WhatsApp Calling

Rotate a WhatsApp trunk's SIP credentials

POST
/v1/numbers/{id}/whatsapp/rotate

Re-mints the trunk's underlying SIP credentials without disconnecting the WhatsApp account or changing the bound phone_number_id. Asynchronous — returns 202; poll GET.

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

Path Parameters

id*string

The tenant NUMBER id.

Formatuuid

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/whatsapp/rotate"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "tenant_number_id": "1d93922a-9238-4447-bea9-285b295a748e",  "provider": "whatsapp",  "external_id": "109876543210987",  "status": "pending",  "provisioning_step": "string",  "provider_config": {},  "readiness": {},  "last_error": "string",  "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"    ]  }}