Create an action

View as Markdown

Creates an action. There is no input_variables parameter on this endpoint. For custom actions, define variables with variables_during_the_call and reference each one as <name> in url, query_parameters, headers, or the body, otherwise the variable is not shown in the dashboard.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
REAL_TIME_BOOKINGobjectOptional
INFORMATION_EXTRACTORobjectOptional
LIVE_TRANSFERobjectOptional
SEND_SMSobjectOptional
INCALL_SMSobjectOptional
INCALL_WHATSAPPobjectOptional
CUSTOM_ACTIONobjectOptional
CUSTOM_EVALobjectOptional

Response

200
statusstringOptional
responseobjectOptional

Errors

400
Bad Request Error