Skip to main content
POST
Error

Authorization

All endpoints require Bearer token authentication.

Getting Your API Key

See the Quickstart guide for instructions on obtaining your API credentials.

Use Cases

  • Automated Collections: AI can handle payment reminders and negotiate payment terms
  • Customer Communication: Handle routine customer inquiries without human intervention

Request Body

Response

Returns a 201 status on successful initiation of the call.

AI Call Features

The AI calling system includes:
  • Natural Conversation: Advanced voice AI that understands context and responds naturally
  • Customizable Scripts: Use aiSettingsTemplateId to customize the conversation flow
  • Call Recording: All calls are recorded for quality assurance and compliance
  • Smart Routing: Intelligently routes to human agents when needed

Prompt Tags

promptTags is an optional object of key-value pairs used for template variable substitution in the system prompt. Each key maps to a placeholder in your prompt template, and the value replaces it before the call starts. This is separate from metadatametadata is stored on the call log and included in webhooks, while promptTags is consumed at call time to populate the system prompt.

How It Works

Your system prompt template uses {{key}} placeholders. When the call is initiated, each {{key}} is replaced with the corresponding value from promptTags. System prompt template:
Request with promptTags:
Resulting system prompt sent to the AI:

Adding Guardrails

You can also use promptTags to inject additional instructions dynamically:

Prompt Tags vs Metadata

Authorizations

Authorization
string
header
required

Enter JWT token obtained from authentication endpoint. Format: Bearer <your_token>

Body

application/json
numberToCall
string
required
Required string length: 1 - 100
updateExisting
boolean
default:false
firstName
string | null
lastName
string | null
email
string | null
metadata
Metadata · object | null
promptTags
Prompttags · object | null

Key-value pairs injected as template variables into system/knowledge base prompt.

contactUuid
string<uuid> | null
aiSettingsTemplateId
string<uuid> | null
countryCode
string | null

ISO 3166-1 alpha-2 region code (e.g. 'SA', 'US') to parse local numbers.

Required string length: 2
Pattern: ^[A-Z]{2}$

Response

Successful Response