Easymailing
Webhooks

Get a webhook

GET /webhooks/{uuid}

GET/webhooks/{uuid}

Returns one webhook with its scope, URL, events, audience (null for crm webhooks) and whether it is active.

When to use: To check how a webhook is configured, for example when it stopped receiving events.

When not to use: To find webhooks use list_webhooks.

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

Path Parameters

uuid*string

UUID of the webhook. Get it with list_webhooks.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/webhooks/4a9d1e75-3b62-4c08-a5f7-d0e2b6c83914" \  -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"}