mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
23 lines
1.4 KiB
Text
23 lines
1.4 KiB
Text
---
|
|
title: "Trigger an Outbound Call by API Trigger Node"
|
|
description: "Initiate an outbound call using an API Trigger node UUID"
|
|
openapi: "POST /api/v1/public/agent/{uuid}"
|
|
---
|
|
|
|
Use this endpoint when you want to execute a workflow through an [API Trigger node](/voice-agent/api-trigger).
|
|
|
|
The `uuid` comes from the API Trigger node in your agent. Add the node to your workflow and copy its auto-generated `trigger_path`.
|
|
|
|
Use `workflow_run_id` from the response to later [retrieve call details](/api-reference/calls/get-run), recordings, and transcripts.
|
|
|
|
Pass `initial_context` to inject runtime data as template variables into the agent's prompt. See [Using initial context](/api-reference/calls#using-initial-context).
|
|
|
|
Pass `telephony_configuration_id` to route the call through a specific telephony configuration instead of your organization's default. The id is shown on each row in **Telephony configurations** (`https://app.dograh.com/telephony-configurations` for hosted or `http://localhost:3010/telephony-configurations` for local).
|
|
|
|
<Note>
|
|
This route expects an API Trigger node UUID (`trigger_path`). Do not pass a workflow UUID here. If you want to execute by workflow UUID, use [Trigger an outbound call by workflow UUID](/api-reference/calls/trigger-workflow) instead.
|
|
</Note>
|
|
|
|
<Note>
|
|
Your telephony provider must be configured before outbound calls will connect. See [Telephony](/integrations/telephony/overview) for setup instructions.
|
|
</Note>
|