workflow-configs

Create Outbound Call Config

Changed on

Create a new outbound call configuration for a workflow.

post/api/v1/workflow-configs/{workflow_config_id}/outbound-configs

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/workflow-configs/{workflow_config_id}/outbound-configs
  • Auth: none declared

Path parameters

workflow_config_idstring uuid required

Request body

routing_keystring required
routing_valuesobject required
    Mapping of routing key values to routing destinations.
    
    New structure (recommended):
    {
        "90210": [
            {"destination_phone_number": "+15551234567", "retries": 3, "order": 1},
            {"destination_phone_number": "+15559876543", "retries": 2, "order": 2}
        ]
    }
    
    Legacy structure (still supported):
    {
        "90210": "+15551234567"
    }
    
voice_call_workflow_idstring uuid required
outbound_agentstring uuid required

Response

Successful Response

idstring uuid required
routing_keystring required
routing_valuesobject required
    Mapping of routing key values to routing destinations.
    
    New structure (recommended):
    {
        "90210": [
            {"destination_phone_number": "+15551234567", "retries": 3, "order": 1},
            {"destination_phone_number": "+15559876543", "retries": 2, "order": 2}
        ]
    }
    
    Legacy structure (still supported):
    {
        "90210": "+15551234567"
    }
    
voice_call_workflow_idstring uuid required
outbound_agentstring uuid required
tenant_idstring uuid required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status