> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dograh.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger an Outbound Agent Run by Agent UUID

> Start an outbound agent run using a workflow's stable Agent UUID

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](/configurations/agent-uuid).

Use `workflow_run_id` from the response to later [retrieve run details](/api-reference/runs/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/runs#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 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](/api-reference/runs/trigger) instead.
</Note>

<Note>
  Your telephony provider must be configured before outbound calls will connect. See [Telephony](/integrations/telephony/overview) for setup instructions.
</Note>


## OpenAPI

````yaml POST /api/v1/public/agent/workflow/{workflow_uuid}
openapi: 3.1.0
info:
  title: Dograh API
  description: API for the Dograh app
  version: 1.0.0
servers:
  - url: https://app.dograh.com
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/v1/public/agent/workflow/{workflow_uuid}:
    post:
      tags:
        - main
      summary: Initiate Call By Workflow Uuid
      description: Initiate a phone call against the published workflow identified by UUID.
      operationId: >-
        initiate_call_by_workflow_uuid_api_v1_public_agent_workflow__workflow_uuid__post
      parameters:
        - name: workflow_uuid
          in: path
          required: true
          schema:
            type: string
            title: Workflow Uuid
        - name: X-API-Key
          in: header
          required: true
          schema:
            type: string
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerCallRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerCallResponse'
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TriggerCallRequest:
      properties:
        phone_number:
          type: string
          title: Phone Number
        initial_context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Initial Context
        telephony_configuration_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Telephony Configuration Id
      type: object
      required:
        - phone_number
      title: TriggerCallRequest
      description: Request model for triggering a call via API
    TriggerCallResponse:
      properties:
        status:
          type: string
          title: Status
        workflow_run_id:
          type: integer
          title: Workflow Run Id
        workflow_run_name:
          type: string
          title: Workflow Run Name
      type: object
      required:
        - status
        - workflow_run_id
        - workflow_run_name
      title: TriggerCallResponse
      description: Response model for successful call initiation
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````