Create a Voice Action

Creates a voice action for the authenticated client. The required credentials and config fields depend on the type/provider combination:

  • SCHEDULE_EVENT (microsoft): requires credentials and config.destination (e-mail). config.calendar_id and config.timezone are optional.
  • TRANSFER_CALL (internal): requires the top-level phone field (10–16 digits).
  • HTTP_WEBHOOK (internal): requires the top-level endpoint (HTTPS URL); the authorization_token field is optional. At the end of the call a webhook with summarized call data is sent to endpoint, using authorization_token for authorization when provided.

Microsoft credentials: tenant, client_id, client_secret. A maximum of 50 actions per client is enforced.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Create payload. Required credentials/config/phone/endpoint/authorization_token depend on the type/provider combination — see the endpoint description.

string
required
length ≤ 100
string
enum
required
Allowed:
string
enum
required
Allowed:
credentials
config
object

Action configuration. destination is required for SCHEDULE_EVENT; from_address and destination are required for SEND_EMAIL.

string

Required for TRANSFER_CALL (10–16 digits).

uri

Required for HTTP_WEBHOOK. HTTPS URL the webhook is POSTed to at the end of the call (max 2048 characters).

string

Optional for HTTP_WEBHOOK. Authorization token sent in the webhook request to the client endpoint when provided (max 2048 characters).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json