Initiate a call
POST /api/v1/calls
SECURITY: Verifies account access, phone ownership, provider ownership, flow ownership
Returns:
- 201 Created: Call initiated immediately (capacity available)
- 202 Accepted: Call queued for later processing (at capacity/rate limited)
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Request
This endpoint expects an object.
flowId
Flow ID to use for the AI conversation
fromNumber
Caller phone number in E.164 format, must be owned by the account
providerId
Provider ID to route the call through
toNumber
Destination phone number in E.164 format (emergency numbers blocked)
campaignContactId
Campaign contact ID for per-contact status tracking
campaignId
Campaign ID if this call is part of a bulk campaign
contactId
Contact ID to associate with this call
flowVersion
Flow version to use, defaults to current published version
metadata
Additional metadata to attach to the call
source
Call source - where the call originated from
Response
Call initiated or queued
Call initiated immediately (201 Created)
OR
Call queued for later processing (202 Accepted)
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error