1. Webhooks
  2. Add Webhook
POST

/webhooks

Authentication*

Available events:

  • response_summary
  • collected_info
  • conversion

‚Äč
Parameters

event
string

The event you want to subscribe to

url
string

The url to send the event to

curl -X POST https://api.gotolstoy.com/webhooks \
  --header 'Authorization: Bearer <API_KEY>'
{
  "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"
}