API ReferenceWebhooks
Create a webhook subscription
POST
Subscribe an HTTPS endpoint to one or more events. The response includes a signing secret used to verify deliveries, shown once. An API key needs the webhooks:write scope. A name that is not an event is rejected with 400.
header
AuthorizationBearer <API key>API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.
application/json- body
url*stringMust be an HTTPS URL.
Format
urievents*array<string>Event types, e.g. content.approved, feed.source.refreshed, enrichment.job.succeeded.
description?stringCreated
application/json- response
data?curl -X POST 'https://example.com/api/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com", "events": [ "string" ]}'Example Response
{ "data": { "id": "string", "url": "http://example.com", "events": [ "string" ], "secret": "string", "is_active": true, "description": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}