Webhooks

List Webhooks

GET

Webooks can be set up using the webhook API endpoints. Currently, only one webhook may be created per organization. The webhook will be called for events in that organization.

Consult the Events documentation for more information.

Response

This endpoint returns an object
data
list of objectsOptional
GET
1curl https://app.polytomic.com/api/webhooks \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "data": [
3 {
4 "created_at": "2024-01-01T00:00:00Z",
5 "endpoint": "https://example.com/webhook",
6 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
7 "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
8 "secret": "secret"
9 }
10 ]
11}