Init a call
API that start a call using a pre-trained playbook.
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.Default Behavior
When you call this endpoint without aversion_id:
- The system looks for the playbook’s production version
- If found, it uses that version’s configuration (prompt, voice, settings, etc.)
- If no versions exist, it falls back to the current playbook configuration
Using a Specific Version
Response
A successful response includes the call ID which you can use to track the call status:Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Params to execute the call
The phone to call with country prefix (e.g. +34600000000).
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).
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.
The number of the voice to use (values: 1, 2, 3, 4, 5, 6, 7) - Default 6.
Choose from our speech models: - 'fast' (less latency, nice voices) or 'human' (our natural sounding voices - (beta)) - Default model: 'human'
The language used by Flark during the call (values: ES, EN, FR, DE, IT, PT, ...) - Default ES.
If the user can interrupt to the IA during the call - Default false.
A custom param like email, firstname, lastname, email, program_of_insterest, etc. Flark will use this param to personalize the call.
A custom param like email, firstname, lastname, email, program_of_insterest, etc. Flark will use this param to personalize the call.
You can add as many custom params as you want. Flark will use this param to personalize the call.

