Use the read endpoints to retrieve webhook subscriptions for your account. You can list all subscriptions or retrieve a single one by ID.
Endpoints
Method | URL | Description |
GET | Return all webhook subscriptions. | |
GET | Return a single subscription. |
Authentication is via HTTP Basic Auth using your API ID and API Key.
List Webhook Subscriptions
GET https://e1.envoke.com/v1/hooks.json
Returns a JSON array of all webhook subscriptions for your account. Unlike most Envoke list endpoints, all subscriptions are returned by default — there is no default limit. Most accounts have a small number of subscriptions, so pagination is rarely necessary.
Query Parameters
Parameter | Type | Default | Description |
| integer | (none) | Maximum number of results to return. When omitted, all subscriptions are returned. |
| integer |
| Number of records to skip. Use with |
| string | (all) | Comma-separated list of fields to include in each result (e.g. |
| string | — | Filter results to subscriptions of the given event type (e.g. |
Response
A JSON array of hook objects. Returns an empty array ([]) if no subscriptions exist.
[ { "id": "9f1c2a42baedb56c7e65b3eeaf1a8814", "type": "form_submission", "url": "https://crm.ridgeline.edu/webhooks/envoke/admissions", "filter": { "form_id": "abc123def456" } }, { "id": "a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7", "type": "new_contact", "url": "https://sis.ridgeline.edu/webhooks/contacts", "filter": {} } ]Get a Single Subscription
GET https://e1.envoke.com/v1/hooks/{ID}.jsonReturns a single webhook subscription object. Replace {ID} with the 32-character hex subscription ID.
If the ID is not found, the API returns null.
Response
{ "id": "9f1c2a42baedb56c7e65b3eeaf1a8814", "type": "form_submission", "url": "https://crm.ridgeline.edu/webhooks/envoke/admissions", "filter": { "form_id": "abc123def456" } }Examples
List all subscriptions
curl -X GET -gs -u "$API_ID:$API_KEY" "$BASE/v1/hooks.json"
Filter by event type
curl -X GET -gs -u "$API_ID:$API_KEY" "$BASE/v1/hooks.json?type=form_submission"
Paginate (first 5, skip first 5)
curl -X GET -gs -u "$API_ID:$API_KEY" "$BASE/v1/hooks.json?limit=5&skip=5"
Return only id and type fields
curl -X GET -gs -u "$API_ID:$API_KEY" "$BASE/v1/hooks.json?fields=id,type"
Get a single subscription by ID
curl -X GET -gs -u "$API_ID:$API_KEY" \ "$BASE/v1/hooks/9f1c2a42baedb56c7e65b3eeaf1a8814.json"
Note: The curl examples above are formatted for readability. All requests must use properly encoded URLs.
For code examples and interactive testing, visit api.envoke.com.
