Skip to main content
POST
Error

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.

Headers

Idempotency-Key
string

Client-supplied idempotency key on mutating POSTs. Retrying the same request with the same key returns the original result instead of creating a duplicate — send a fresh UUID per logical operation.

Body

application/json
agentId
string
required

The agent that places the call (must belong to your org).

callerNumberId
string
required

The caller-ID number id — an org-owned, trunk-provisioned DID.

toNumber
string
required

The recipient phone number; normalized to E.164 (an invalid number is rejected 400).

The lawful basis to place this call. A consumer audience REQUIRES a resolved basis (pewc, express, or ebr); none is only valid for a business audience.

Available options:
pewc,
express,
ebr,
none
recipientName
string

Optional recipient name (also a merge variable for the greeting).

variables
object

Optional merge variables for the greeting / playbook.

audienceType
enum<string>
default:consumer
Available options:
consumer,
business

Response

The call was queued for dialing.

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