How your system starts journeys
get_journey_events_setupFor journeys started by the owner's own system ("when your system sends an event", trigger_event custom): the site's events address, how to get an API key (Settings > Integrations > API keys, Agency add-on, scope crm:write), the request body, a copyable curl example, the answer it gets, limits, and every such journey on the site with its event name, details and the {{trigger.data.}} variables its emails can use. Pass journey_id for one journey. Use it when someone asks how to connect their software, booking or repair system to a journey.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "get_journey_events_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| journey_id | No | The journey, by id from list_journeys |