List webhooks
GET/api/v2/webhooks
Returns every active webhook registered for your firm, whether it was registered over the API or in API Settings in your dashboard. The list is not paginated: your firm can have at most one webhook per event.
Request
cURL
GET /api/v2/webhooks
curl --location 'https://www.reviewsolicitors.co.uk/api/v2/webhooks' \
--header 'Authorization: Bearer {access_token}'Response
200 OK
[
{
"id": 399,
"url": "https://example.com/reviewsolicitors",
"eventType": "NEW_REVIEW",
"status": "ACTIVE"
}
]A firm with no webhooks gets an empty list, [].
The webhook object
| Field | Type | Description |
|---|---|---|
id | number | The webhook’s unique id. Use it to update or delete the webhook. |
url | string | The address we send events to. |
eventType | string | The event the webhook receives. See Events and payloads. |
status | string | ACTIVE for every webhook returned. Deleted webhooks are not listed. |