Authorizations
Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key
Body
Call creation details
The number you own in E.164 format. Must be a number purchased from OpenMic.
"+1234567890"
The number you want to call in E.164 format.
"+0987654321"
The bot UID to override the default agent.
"bvrg8wzi487w02m2bc7dh0ev"
Customer identifier for tracking
"customer_001"
Send dynamic variables in key value pairs to replace in the prompt.
{ "name": "John" }Callback URL to receive call events.
"https://example.com/callback"
Response
Call created successfully
Type of call
phonecall, webcall Originating phone number
Destination phone number
Call direction
inbound, outbound Unique call identifier
Bot/agent identifier
Current call status
registered, ongoing, ended, error Customer identifier
Telephony system identifiers
Call start time (Unix timestamp in milliseconds)
Call end time (Unix timestamp in milliseconds)
Call duration in milliseconds
Call transcript as array of [speaker, message] pairs
URL to call recording
Latency metrics for different components
Post-call analysis results including summary and success metrics
Detailed cost breakdown for the call
Send dynamic variables in key value pairs to replace in the prompt.
{ "name": "John" }