Webhooks
Add Webhook
Add a Webhook for an event
POST
/
webhooks
Copy
Ask AI
curl -X POST https://api.gotolstoy.com/webhooks \
--header 'Authorization: Bearer <API_KEY>'
Copy
Ask AI
{
"id": "8fde3c42-0d34-4d51-8b48-6930c1a5bf80",
"url": "https://my.web.hook.url",
"event": "response_summary",
"owner": "43a7bd93-c302-4c18-93bc-d7151c586336",
"__typename": "webhook",
"createdAt": "2021-05-23T13:44:05.854Z",
"updatedAt": "2021-05-23T13:44:05.854Z"
}
Available events:
-
response_summary
-
collected_info
-
conversion
Parameters
The event you want to subscribe to
The url to send the event to
Copy
Ask AI
curl -X POST https://api.gotolstoy.com/webhooks \
--header 'Authorization: Bearer <API_KEY>'
Copy
Ask AI
{
"id": "8fde3c42-0d34-4d51-8b48-6930c1a5bf80",
"url": "https://my.web.hook.url",
"event": "response_summary",
"owner": "43a7bd93-c302-4c18-93bc-d7151c586336",
"__typename": "webhook",
"createdAt": "2021-05-23T13:44:05.854Z",
"updatedAt": "2021-05-23T13:44:05.854Z"
}
Copy
Ask AI
curl -X POST https://api.gotolstoy.com/webhooks \
--header 'Authorization: Bearer <API_KEY>'
Copy
Ask AI
{
"id": "8fde3c42-0d34-4d51-8b48-6930c1a5bf80",
"url": "https://my.web.hook.url",
"event": "response_summary",
"owner": "43a7bd93-c302-4c18-93bc-d7151c586336",
"__typename": "webhook",
"createdAt": "2021-05-23T13:44:05.854Z",
"updatedAt": "2021-05-23T13:44:05.854Z"
}
Assistant
Responses are generated using AI and may contain mistakes.