callAction

Call an action

POST/v1/chat/actions

Authorization

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

Header parameters

x-bp-authenticated-principalstring
Authenticated principal. Injected by the authentication middleware.
x-bot-idstring
Bot id
x-integration-id?string
Integration id
x-integration-alias?string
Integration alias

Request body

Action payload

typestring
Type of the action(max length: 200)
inputobject
Input of the action

Response

Action payload

outputobject
Input of the action
metaobject