{
"_id": "01JCQ8Z5W3K7X2M4N6P8R0T2V4",
"event": "task.received",
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"id": 123,
"number": "<string>",
"product_id": 123,
"step_id": 123,
"subscriber_id": 123,
"status": "<string>",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by_user_id": 123,
"messages_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"botId": 123,
"step_name": "<string>",
"product_name": "<string>"
}
}Відповіді та завдання
Отримано завдання
Підписник надіслав завдання на перевірку
WEBHOOK
task.received
{
"_id": "01JCQ8Z5W3K7X2M4N6P8R0T2V4",
"event": "task.received",
"description": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"id": 123,
"number": "<string>",
"product_id": 123,
"step_id": 123,
"subscriber_id": 123,
"status": "<string>",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by_user_id": 123,
"messages_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"botId": 123,
"step_name": "<string>",
"product_name": "<string>"
}
}Заголовки
Тіло
application/json
Body of every webhook delivery
Відповідь
2XX
Return any 2xx status within 3 seconds to confirm the delivery. Any other status, a connection error or a timeout is retried