3. Testing a webhook
You may test how your endpoint handles incoming rest-hooks. By calling the method below, you'll either receive a sample response representing the real data structure, or if you have real data in your account, our endpoint will respond with that instead.
GET /rest-hooks#
| Query parameter | description |
|---|---|
rest_hook_id | id you've received when first subscribing to the rest-hook |
Success response#
Status code: 200 OK
{ "event_name": "[rest-hook even name]", "payload": { "type": "[entity name]", "attributes": { "id": [int], ... } }}