Webhooks
Explore incoming and outgoing webhooks in the Ebbot Chat platform.
Incoming webhook
Send a request
Request Body
Name
Type
Description
{
"request_id": "197d7397-bf87-4740-a829-ea7251bff534",
"data": {
"chatId": "1613384238.420.50c9b6c7-96b6-4794-b09f-3ac7ae27c598",
"sandbox": false,
"scenario": {
"id": "e67494b0-6c9c-11eb-aed8-d37ca2e276ae_e881fbe7-792a-479b-8cfd-848f91120e9c",
"name": "generalcatchall"
},
"answers": [
{
"id": "c780c560-c191-4368-924c-57a491dc1748",
"name": "generalcatchallask",
"bot_id": "ebmjx2zgfh06t4sxtxko6dcst66w4q",
"botId": "ebmjx2zgfh06t4sxtxko6dcst66w4q",
"companyId": "eb8ag1gmiktma952j949arkwu6l93v",
"parameters": {},
"db": {},
"conversation": {},
"customer_info": {
"first_name": "Reluctant",
"last_name": "Snake"
},
"chatId": "1613384238.420.50c9b6c7-96b6-4794-b09f-3ac7ae27c598",
"sender": "user",
"type": "url",
"value": {
"description": "Would you like to talk with a human agent?",
"urls": [
{
"id": "1652c631-a7f5-45a2-a84f-072809631208",
"label": "Yes",
"type": "scenario",
"next": {
"scenario": "e656fa90-6c9c-11eb-aed8-d37ca2e276ae_29029c56-4b82-454e-ad75-12445beae6c4"
}
},
{
"id": "ae5f4cd7-9734-4369-b8c9-dd5ca476e5af",
"label": "No",
"type": "scenario"
}
]
}
}
]
},
"success": true
}Example request
Example response
Set a variable
Make transition
Outgoing webhooks
Overview
Details
chat.create
chat.update
chat.data.update
chat.user.update
chat.user.message
chat.bot.message
chat.agent.message
chat.system.message
chat.message
chat.scenario.run
chat.status.change
chat.close
Last updated
Was this helpful?

