API Reference
WhatsApp Calling

Toggle recording for a number's WhatsApp calls

PUT
/v1/numbers/{id}/whatsapp/recording

Sets the SautiKit-side "record WhatsApp calls" flag. This is a SautiKit setting, not a Meta one: Meta's native call recording is available only on its Cloud/WebRTC calling path, which a BYOC SIP integration cannot use, so recording is captured on our own SIP media leg instead.

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08/whatsapp/recording" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "recording_enabled": true}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ]  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string",    "details": [      "string"    ]  }}