Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Your bot ID.
Body
application/json
Action payload
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
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
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Your bot ID.
Action payload
Was this page helpful?