List webhooks
Returns the activity webhooks registered on the campaigns of the authenticated account: legacy email campaigns (typeOfCampaign: email), legacy LinkedIn campaigns (linkedin) and advanced campaigns (advanced), whatever their status (FINISHED and ARCHIVED included).
There is one entry per registration and per campaign: a URL registered with ALL_CAMPAIGNS appears once for each campaign it was copied to, and the part kept for future campaigns is not listed. A URL registered twice on a campaign appears twice. Registrations with an empty event list are skipped. status is always active.
Authentication. API key in Authorization (raw or Bearer <key>), per key rate limit applies.
Errors. 401 Authentication required for a missing or unknown key. 401 You must be logged in is also returned when reading the webhooks fails for any internal reason. Exceeding the per key rate limit returns 500 Internal server error, not 429.
Authorization
apiKey Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/webhook" \ -H "Authorization: YOUR_API_KEY"{ "webhooks": [ { "id": "6702c1d4e5f6a7b8c9d0e1f2", "typeOfCampaign": "advanced", "campaignId": "6651f0c2a1b2c3d4e5f60718", "campaignName": "Acme Q4 multichannel", "url": "https://hooks.acme.com/emelia/9f2c4e1a7b", "events": [ "MAIL_REPLIED", "LINKEDIN_REPLIED" ], "status": "active" } ]}