API Reference
Calls

Send a control command to a conference room on the PBX

POST
/v1/conferences/{room_name}/commands

Dispatches one of the allowlisted PBX conference commands (kill, mute, unmute, tmute, deaf, undeaf, kick, hup, lock, unlock, hold, unhold, play, dtmf, relate) to the named room. The room must belong to the active workspace. Unknown commands are rejected with 400.

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

room_name*string

Conference room name as registered with the PBX.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/conferences/string/commands" \  -H "Content-Type: application/json" \  -d '{    "command": "mute",    "participant": "p-a1b2c3d4-e5f6-7890-abcd-ef1234567890"  }'
{  "status": "ok"}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}
{  "error": {    "code": "calls.forbidden",    "message": "conference room does not belong to this workspace",    "request_id": "req-b2c3d4e5"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}