curl --request POST \
--url https://api.botpress.cloud/v1/chat/actions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--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: <x-bot-id>' \
--data '
{
"type": "<string>",
"input": {}
}
'{
"output": {},
"meta": {
"cached": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Action payload
Was this page helpful?