cURL
curl --request POST \ --url https://api.botpress.cloud/v1/chat/actions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-bot-id: <api-key>' \ --data '{ "type": "<string>", "input": {} }'
{ "output": {}, "meta": { "cached": true } }
Call an action
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your bot ID.
Action payload
Type of the action
200
Input of the action
Show child attributes
Was this page helpful?