---
title: "Initiate Call Test"
method: POST
path: "/api/v1/public/agent/test/{uuid}"
tags: ["main"]
---

# Initiate Call Test

`POST /api/v1/public/agent/test/{uuid}`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/public/agent/test/{uuid}`
- Auth: none declared. Required headers: `X-API-Key`

Initiate a phone call against the latest draft of the agent.

Useful for verifying changes before publishing. Falls back to the
published definition when no draft exists.

## Path parameters

- `uuid` string, required

## Headers

- `X-API-Key` string, required

## Request body

- TriggerCallRequest: Request model for triggering a call via API
  - `phone_number` string, required
  - `initial_context` object, nullable
  - `telephony_configuration_id` integer, nullable
  - `from_phone_number_id` integer, nullable
  - `model_overrides` ModelConfigurationOverride
    - `model_configuration_uuid` string, uuid, nullable
    - `mode` 'pipeline' | 'realtime', nullable
    - `llm` ServiceOverride
      - `settings` object
      - `provider_connection_uuid` string, uuid, nullable
    - `llm_fallback` FallbackPolicyServiceSelection
      - `version` 1
      - `rules` FallbackRuleServiceSelection[]
        - `condition` union, required
          - NoOutputCondition
            - `type` 'no_output'
            - `after_ms` integer
          - ErrorCondition
            - `type` 'error'
        - `target` ServiceSelection, required
          - `settings` object
          - `provider_connection_uuid` string, uuid, required
    - `stt` ServiceOverride
      - `settings` object
      - `provider_connection_uuid` string, uuid, nullable
    - `tts` ServiceOverride
      - `settings` object
      - `provider_connection_uuid` string, uuid, nullable
    - `realtime` ServiceOverride
      - `settings` object
      - `provider_connection_uuid` string, uuid, nullable
    - `embeddings` ServiceOverride
      - `settings` object
      - `provider_connection_uuid` string, uuid, nullable

## Response `200`

Successful Response

- TriggerCallResponse: Response model for successful call initiation
  - `status` string, required
  - `workflow_run_id` integer, required
  - `workflow_run_name` string, required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/public/agent/test/:uuid/post.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
