API Reference
Broadcasts

Dry-run the composed prompt (zero cost)

POST
/v1/broadcasts/{id}/render

Returns the FULL composed prompt (agent base_prompt + rendered template with the supplied variables) using the exact composer the dialer uses. No contact/call rows touched, no dial, no billing.

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
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/broadcasts/497f6eca-6276-4993-bfeb-53cbbbba6f08/render" \  -H "Content-Type: application/json" \  -d '{    "variables": {      "name": "Alice",      "date": "Tuesday 10am"    }  }'
{  "rendered_prompt": "string",  "warnings": [    "string"  ]}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}
{  "error": {    "code": "validation.bad_request",    "message": "string",    "request_id": "string"  }}