Skip to main content
POST
/
call
cURL
curl --request POST \
  --url https://api.meetzy.io/call \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "<string>",
  "playbook_id": "<string>",
  "version_id": "<string>",
  "voice_id": "<string>",
  "voice_model": "<string>",
  "language": "<string>",
  "interrupt": true,
  "<custom_param_1>": "<string>",
  "<custom_param_2>": "<string>",
  "<custom_param_N>": "<string>"
}
'
{
  "id": "<string>",
  "success": true,
  "message": "<string>"
}

Overview

This endpoint initiates an outbound call using a pre-trained playbook. The call will be made using your configured phone number and the AI will follow the playbook’s instructions.

Version Control

By default, this endpoint uses the production version of your playbook. This ensures that all API calls use the same configuration you’ve designated as production-ready in the dashboard.
You can optionally specify a version_id parameter to use a specific version of your playbook. This is useful for testing new versions before marking them as production. See Agent Versioning for more details.

Default Behavior

When you call this endpoint without a version_id:
  1. The system looks for the playbook’s production version
  2. If found, it uses that version’s configuration (prompt, voice, settings, etc.)
  3. If no versions exist, it falls back to the current playbook configuration

Using a Specific Version

{
  "phone": "+34600000000",
  "playbook_id": "your-playbook-id",
  "version_id": "optional-version-uuid"
}

Response

A successful response includes the call ID which you can use to track the call status:
{
  "success": true,
  "id": "call-uuid",
  "message": "Call processing started"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Params to execute the call

phone
string
required

The phone to call with country prefix (e.g. +34600000000).

playbook_id
string
required

The id of the playbook you want to use to make the call. You can get the list of playbooks using your dashboard (/playbook endpoint will be available soon).

version_id
string

Optional. The ID of a specific playbook version to use for this call. If not provided, the system will automatically use the version marked as 'production'. This allows you to test specific versions or use historical configurations.

voice_id
string

The number of the voice to use (values: 1, 2, 3, 4, 5, 6, 7) - Default 6.

voice_model
string

Choose from our speech models: - 'fast' (less latency, nice voices) or 'human' (our natural sounding voices - (beta)) - Default model: 'human'

language
string

The language used by Flark during the call (values: ES, EN, FR, DE, IT, PT, ...) - Default ES.

interrupt
boolean

If the user can interrupt to the IA during the call - Default false.

<custom_param_1>
string

A custom param like email, firstname, lastname, email, program_of_insterest, etc. Flark will use this param to personalize the call.

<custom_param_2>
string

A custom param like email, firstname, lastname, email, program_of_insterest, etc. Flark will use this param to personalize the call.

<custom_param_N>
string

You can add as many custom params as you want. Flark will use this param to personalize the call.

Response

Call response

id
string

The id of a the call

success
boolean

If the call started successfully or not

message
string

The message explaining the result of the call initiation