Update a Voice Action

Partially updates a voice action. Send only the fields you want to change; at least one of name, config, credentials, phone, endpoint, authorization_token or message is required. message is accepted only on a SEND_SMS action, with the same rules as on creation. In credentials, a secret left out (client_secret, refresh_token) keeps its stored value and one sent replaces it, so the credentials a read returned (which come without their secrets) can be sent back; the result must be complete for the action's provider, or the API answers 422. An authorization_token left out keeps its stored value.

An action bound to another app of the same account answers 404, and nothing is written.

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

Voice action ID (UUID).

Body Params

Partial update — all fields optional, at least one required.

string
length ≤ 100
config
object

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

credentials
object

A secret left out (client_secret, refresh_token) keeps its stored value, and one sent replaces it, so the credentials a read returned can be sent back. The result must be complete for the action's provider, or the API answers 422.

string
uri

HTTPS URL for HTTP_WEBHOOK (max 2048 characters).

string

Authorization token for HTTP_WEBHOOK (max 2048 characters). Left out, the stored one is kept.

string
length between 1 and 1600

SMS text for SEND_SMS (max 1600 characters, no blocked words). Refused with 422 on an action of any other type.

Responses

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