Skip to main content
POST
Create an action
Set payload.parameters[].value to a non-empty string to supply a fixed query or path parameter on every call. Omit value or set it to null when the parameter should be filled at call time. A schema.example only illustrates an input; it does not supply a fixed value. For example, an account identifier can stay fixed while the order reference varies:
Place these parameters inside payload alongside the action’s path and method. See Build an action for dashboard setup.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Action display name

api_endpoint
string<uri>
required

The full API endpoint URL to call

request_type
enum<string>
required

HTTP method

Available options:
GET,
POST,
PUT,
PATCH,
DELETE
payload
object
required

OpenAPI-style operation spec: parameters, requestBody, responses, etc.

description
string

What this action does

operation_id
string

Unique operation ID (auto-generated from name if omitted). 1-64 characters of [a-zA-Z0-9_-]: it is the tool name the AI agent calls, and phone agents reject anything else.

Pattern: ^[a-zA-Z0-9_-]{1,64}$
enabled_on_channel
object

Channel restrictions (defaults to web only)

pinned
boolean

Whether to pin this action prominently

tags
string[]

Tags for organizing actions

require_form_submission
boolean

Require the user to submit a form before executing

restricted_to_segments
string[]

Contact segment ids this action is restricted to. Empty/omit = available to all contacts. Segment ids come from list contact segments.

Response

Default Response

id
string
required

Unique action ID

name
string
required

Action display name

description
string | null
required

What this action does

api_endpoint
string | null
required

The API endpoint URL this action calls

request_type
string | null
required

HTTP method (GET, POST, PUT, PATCH, DELETE)

operation_id
string | null
required

Unique operation ID used to reference this action

payload
object | null
required

OpenAPI-style operation spec defining parameters, request body, and responses

status
string | null
required

Action status (e.g. "live")

pinned
boolean
required

Whether this action is pinned prominently

tags
string[]
required

Tags for organizing actions

enabled_on_channel
object
required

Channel restrictions

is_handoff_like
boolean
required

Whether this action behaves like a handoff to a human agent

require_form_submission
boolean | null
required

Whether a form must be submitted before the action executes

restricted_to_segments
string[]
required

Contact segment ids this action is restricted to. Empty = available to all contacts.

created_at
string<date-time>
required

When the action was created

updated_at
string<date-time>
required

When the action was last updated