Skip to main content
This page documents the MarIA Core endpoints used for outbound call campaigns with questionnaires.

Authentication

All endpoints require X-Api-Key. In the interactive reference, replace your-prod-endpoint with the real host before trying a request.

Questionnaires

Create example:
Abbreviated 201 response:

Webhooks

Valid types: generic, whatsapp_incoming, whatsapp_status, voice_incoming, voice_status, questionnaire_completion, voice_shutdown, voice_tool_call.
The response returns success: true and the webhook in data; when auth.token is present, it is masked as ***.

Outbound Calls

To create a call tied to an external questionnaire, use POST /api/v1/calls/external-questionnaire. Use schedulingWindow when you need to constrain the date or time.
Abbreviated 201 response:

Reading Calls

For external integrations, use the read routes: The list response returns success, data, and pagination. The detail response returns success and data.call. Calls include id, endUserId, questionnaireInstanceId, callDirection, status, timestamps, schedulingWindow, transcription, events, and result fields when available.