MCP is live.Set upAsk the community
OmniDimension
Agents

List post-call actions

List every post-call action on the agent, each with its own `id`.

GET/agents//post-call-actions
Path parameters
agent_idrequired
Query parameters
user_idinteger

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).

curl -X GET 'https://backend.omnidim.io/api/v1/agents/{agent_id}/post-call-actions' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Example response
synthetic
{
  "actions": [
    {
      "id": 0,
      "type": "email",
      "recipients": [
        "string"
      ],
      "url": "string",
      "phone_number_id": 0,
      "template_id": 0,
      "template_variables": [
        "string"
      ],
      "templates": [
        "string"
      ],
      "workflow_id": 0,
      "integration_id": 0,
      "spreadsheet_id": "string",
      "spreadsheet_name": "string",
      "worksheet_name": "string",
      "channel_id": "string",
      "channel_name": "string",
      "object_name": "string",
      "create_call_log": false,
      "update_contact": false,
      "create_contact": false,
      "include": [
        "string"
      ],
      "extracted_variables": [
        {
          "key": "customer_issue",
          "prompt": "Identify the main issue the customer is experiencing."
        }
      ],
      "trigger_call_statuses": [
        "string"
      ]
    }
  ],
  "applies_after_publish": false
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

agent_id*integer

The ID of the agent.

Query Parameters

user_id?integer

Reseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.

Response body

application/json

Response Body

The agent's post-call actions.

application/json
actions?
applies_after_publish?AppliesAfterPublish

False for an agent that has never been published: the change is live on the next call. True when the agent is published: changes go to the draft, so they reach live calls only after you publish the agent in the dashboard.