Easymailing
Webhooks

List account webhooks

GET /webhooks

GET/webhooks

Returns the webhooks of the account, newest first, with the scope, the audience (null for crm webhooks), the events and the URL each one notifies.

When to use: To see which integrations already receive events from Easymailing, or to find the UUID of a webhook whose deliveries you want to inspect.

When not to use: To see what was sent by a webhook use list_webhook_events or list_webhook_requests.

Filters: audience: UUID of an audience; returns only its marketing webhooks (crm webhooks have no audience and never match). Sort with order[created_at] or order[updated_at] (asc/desc).

Permissions: Requires the manager role or higher, or the account.integrations.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Query Parameters

page?integer

The collection page number

Default1
itemsPerPage?integer

The number of items per page

Range0 <= value <= 50
Default30
audience?string

Return only the marketing webhooks of this audience UUID.

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/webhooks?audience=0df14405-90ff-4287-b3e4-ef088901ee6f" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "id": 0,    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "scope": "marketing",    "title": "string",    "event_types": [      "member_subscribed"    ],    "url": "http://example.com",    "secret": "string",    "active": true,    "audience": "/entity/1",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }]