Skip to main content
POST
/
agents
/
{agentId}
/
talk-token
Error
A valid request URL is required to generate request examples
{
  "success": true,
  "data": {
    "realtimeUrl": "<string>",
    "token": "<string>",
    "room": "<string>"
  },
  "message": "<string>",
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Path Parameters

agentId
string
required

Body

application/json
draftMode
boolean
default:false

true → ephemerally-compiled draft config (no agent_versions row, not billed); false → latest published version (else 409 no_published_version).

Response

Real-time voice session credentials.

success
boolean
required
data
object
required
message
string
errors
object[]