---
title: "List of call action and rules"
method: POST
path: "/callaction"
tags: ["callaction"]
---

# List of call action and rules

`POST /callaction`

Creates call action rules that automatically trigger actions based on call criteria. Call actions enable automated workflows such as sending notifications, tagging calls, or triggering integrations when specific conditions are met.

## Request body

- CreateCallActions
  - `provisioned_route_id` integer, required — provisioned_route_id. Type: integer (int32).
  - `callActions` object[], required — callActions. Type: array of object.
    - `name` string — Display name for the call action. Type: string.
    - `rule` object[]
      - `data_field` 'repeat call' | 'duration' | 'disposition' | 'caller id' | 'missed opportunity' | 'sales inquiry' | 'conversion' | 'lead quality' | 'referring' | 'referring type' | 'UTM Campaign' | 'UTM Source' | 'UTM Medium' | 'ring to phone number' | 'send to voicemail', required
      - `operator` '>' | '<' | '=' | '!=' | '>=' | '<=' | 'is' | 'is not' | 'contains' | 'does not contain' | 'begins with' | 'ends with', required
      - `comparator` string, required
      - `join_type` 'NONE' | 'AND' | 'OR', required
    - `action` CreateCallAction
      - `action` 'Send email alert to' | 'Tag call as' | 'Trigger the webhook' | 'Flag for call back' | 'Process call for DoubleClick' | 'Send call for Google Analytics' | 'Send SMS to', required
      - `action_target` string, required
      - `action_sms_target` ActionSMSTarget
        - `target_type` 'phone_number' | 'caller' | 'assigned_agent' | 'agent', required
        - `target_agent` number[] — Array of user ids.
        - `target_number` string
        - `outbound_sms` string
        - `opt_out_sms` string

## Response `200`

Confirmation of call action creation with IDs of newly created actions

- StandardPostResponse[]
  - `result` string, required — Outcome of the request. String, typically 'success' or 'error'.
  - `data` string, required — Response payload. Shape varies by endpoint.
  - `entry_count` integer, required — The sequential number of the entry in the submitted array. Type: integer (int32).

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/convirza/apis/convirza-apis.md) · [All operations](https://skmtc.net/convirza/apis/convirza-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/convirza/convirza-apis/versions/ccf9bbe34f5a/schema)
