Initiate Call By Workflow Uuid
curl --request POST \
--url https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"phone_number": "<string>",
"initial_context": {},
"telephony_configuration_id": 123,
"from_phone_number_id": 123,
"model_overrides": {
"model_configuration_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"llm": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"llm_fallback": {
"version": 1,
"rules": [
{
"condition": {
"type": "no_output",
"after_ms": 1500
},
"target": {
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {}
}
}
]
},
"stt": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"tts": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"realtime": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"embeddings": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
'import requests
url = "https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}"
payload = {
"phone_number": "<string>",
"initial_context": {},
"telephony_configuration_id": 123,
"from_phone_number_id": 123,
"model_overrides": {
"model_configuration_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"llm": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"llm_fallback": {
"version": 1,
"rules": [
{
"condition": {
"type": "no_output",
"after_ms": 1500
},
"target": {
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {}
}
}
]
},
"stt": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"tts": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"realtime": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"embeddings": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
headers = {
"X-API-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
phone_number: '<string>',
initial_context: {},
telephony_configuration_id: 123,
from_phone_number_id: 123,
model_overrides: {
model_configuration_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
llm: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
llm_fallback: {
version: 1,
rules: [
{
condition: {type: 'no_output', after_ms: 1500},
target: {provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a', settings: {}}
}
]
},
stt: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
tts: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
realtime: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
embeddings: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}
}
})
};
fetch('https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'phone_number' => '<string>',
'initial_context' => [
],
'telephony_configuration_id' => 123,
'from_phone_number_id' => 123,
'model_overrides' => [
'model_configuration_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'llm' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'llm_fallback' => [
'version' => 1,
'rules' => [
[
'condition' => [
'type' => 'no_output',
'after_ms' => 1500
],
'target' => [
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'settings' => [
]
]
]
]
],
'stt' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'tts' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'realtime' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'embeddings' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}"
payload := strings.NewReader("{\n \"phone_number\": \"<string>\",\n \"initial_context\": {},\n \"telephony_configuration_id\": 123,\n \"from_phone_number_id\": 123,\n \"model_overrides\": {\n \"model_configuration_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"llm\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"llm_fallback\": {\n \"version\": 1,\n \"rules\": [\n {\n \"condition\": {\n \"type\": \"no_output\",\n \"after_ms\": 1500\n },\n \"target\": {\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"settings\": {}\n }\n }\n ]\n },\n \"stt\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"tts\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"realtime\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"embeddings\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<x-api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}")
.header("X-API-Key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"phone_number\": \"<string>\",\n \"initial_context\": {},\n \"telephony_configuration_id\": 123,\n \"from_phone_number_id\": 123,\n \"model_overrides\": {\n \"model_configuration_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"llm\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"llm_fallback\": {\n \"version\": 1,\n \"rules\": [\n {\n \"condition\": {\n \"type\": \"no_output\",\n \"after_ms\": 1500\n },\n \"target\": {\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"settings\": {}\n }\n }\n ]\n },\n \"stt\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"tts\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"realtime\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"embeddings\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"phone_number\": \"<string>\",\n \"initial_context\": {},\n \"telephony_configuration_id\": 123,\n \"from_phone_number_id\": 123,\n \"model_overrides\": {\n \"model_configuration_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"llm\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"llm_fallback\": {\n \"version\": 1,\n \"rules\": [\n {\n \"condition\": {\n \"type\": \"no_output\",\n \"after_ms\": 1500\n },\n \"target\": {\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"settings\": {}\n }\n }\n ]\n },\n \"stt\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"tts\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"realtime\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"embeddings\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"workflow_run_id": 123,
"workflow_run_name": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Runs
Trigger an Outbound Agent Run by Agent UUID
Start an outbound agent run using a workflow’s stable Agent UUID
POST
/
api
/
v1
/
public
/
agent
/
workflow
/
{workflow_uuid}
Initiate Call By Workflow Uuid
curl --request POST \
--url https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"phone_number": "<string>",
"initial_context": {},
"telephony_configuration_id": 123,
"from_phone_number_id": 123,
"model_overrides": {
"model_configuration_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"llm": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"llm_fallback": {
"version": 1,
"rules": [
{
"condition": {
"type": "no_output",
"after_ms": 1500
},
"target": {
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {}
}
}
]
},
"stt": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"tts": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"realtime": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"embeddings": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
'import requests
url = "https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}"
payload = {
"phone_number": "<string>",
"initial_context": {},
"telephony_configuration_id": 123,
"from_phone_number_id": 123,
"model_overrides": {
"model_configuration_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"llm": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"llm_fallback": {
"version": 1,
"rules": [
{
"condition": {
"type": "no_output",
"after_ms": 1500
},
"target": {
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"settings": {}
}
}
]
},
"stt": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"tts": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"realtime": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"embeddings": {
"settings": {},
"provider_connection_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
headers = {
"X-API-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
phone_number: '<string>',
initial_context: {},
telephony_configuration_id: 123,
from_phone_number_id: 123,
model_overrides: {
model_configuration_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
llm: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
llm_fallback: {
version: 1,
rules: [
{
condition: {type: 'no_output', after_ms: 1500},
target: {provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a', settings: {}}
}
]
},
stt: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
tts: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
realtime: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
embeddings: {settings: {}, provider_connection_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}
}
})
};
fetch('https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'phone_number' => '<string>',
'initial_context' => [
],
'telephony_configuration_id' => 123,
'from_phone_number_id' => 123,
'model_overrides' => [
'model_configuration_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'llm' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'llm_fallback' => [
'version' => 1,
'rules' => [
[
'condition' => [
'type' => 'no_output',
'after_ms' => 1500
],
'target' => [
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'settings' => [
]
]
]
]
],
'stt' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'tts' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'realtime' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'embeddings' => [
'settings' => [
],
'provider_connection_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}"
payload := strings.NewReader("{\n \"phone_number\": \"<string>\",\n \"initial_context\": {},\n \"telephony_configuration_id\": 123,\n \"from_phone_number_id\": 123,\n \"model_overrides\": {\n \"model_configuration_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"llm\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"llm_fallback\": {\n \"version\": 1,\n \"rules\": [\n {\n \"condition\": {\n \"type\": \"no_output\",\n \"after_ms\": 1500\n },\n \"target\": {\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"settings\": {}\n }\n }\n ]\n },\n \"stt\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"tts\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"realtime\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"embeddings\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<x-api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}")
.header("X-API-Key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"phone_number\": \"<string>\",\n \"initial_context\": {},\n \"telephony_configuration_id\": 123,\n \"from_phone_number_id\": 123,\n \"model_overrides\": {\n \"model_configuration_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"llm\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"llm_fallback\": {\n \"version\": 1,\n \"rules\": [\n {\n \"condition\": {\n \"type\": \"no_output\",\n \"after_ms\": 1500\n },\n \"target\": {\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"settings\": {}\n }\n }\n ]\n },\n \"stt\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"tts\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"realtime\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"embeddings\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.dograh.com/api/v1/public/agent/workflow/{workflow_uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"phone_number\": \"<string>\",\n \"initial_context\": {},\n \"telephony_configuration_id\": 123,\n \"from_phone_number_id\": 123,\n \"model_overrides\": {\n \"model_configuration_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"llm\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"llm_fallback\": {\n \"version\": 1,\n \"rules\": [\n {\n \"condition\": {\n \"type\": \"no_output\",\n \"after_ms\": 1500\n },\n \"target\": {\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"settings\": {}\n }\n }\n ]\n },\n \"stt\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"tts\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"realtime\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"embeddings\": {\n \"settings\": {},\n \"provider_connection_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"workflow_run_id": 123,
"workflow_run_name": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Use this endpoint when you want to start an agent run directly by its stable Agent UUID instead of through an API Trigger node.
The
workflow_uuid is the workflow’s Agent UUID. It is different from an API Trigger node’s trigger_path.
To find and copy the Agent UUID in the UI, see Agent UUID.
Use workflow_run_id from the response to later retrieve run details, recordings, and transcripts.
Pass initial_context to inject runtime data as template variables into the agent’s prompt. See 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).
Pass from_phone_number_id to use a specific active caller ID in the resolved telephony configuration. The number ID must belong to that configuration. Retrieve number IDs with List phone numbers.
This route expects a workflow UUID. Do not pass an API Trigger node UUID here. If you want to execute via an API Trigger node, use Trigger an outbound agent run instead.
Your telephony provider must be configured before outbound calls will connect. See Telephony for setup instructions.
Headers
Path Parameters
Body
application/json