Authorization: Bearer ********************
curl --location --request GET 'https://api.mottasl.ai/v1webhook/123' \
--header 'Authorization: Bearer <token>'
{
"data": {
"response": {
"contact": {
"id": 1,
"is_agent": true,
"display_name": "Admin"
},
"id": 517,
"name": "BOT | chat_assigned",
"description": "Chatbot integration Webhook for chat_assigned event",
"url": "https://test.example.com",
"event": "chat_assigned",
"securetoken": "Aa123456",
"policy": "simple",
"enabled": true,
"created_at": "2024-11-14T11:48:24.043653Z",
"updated_at": "2024-11-14T11:48:24.043653Z"
}
},
"message": "webhooks for business id: xyz and id: 517 queried successfully",
"success": true
}