Creates an active webhook subscription. The secret is returned only once.
bearerAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
uriapplication/json
curl -X POST "https://loading/public/v1/webhook-subscriptions" \ -H "Content-Type: application/json" \ -d '{ "description": "Production CRM webhooks", "events": [ "contact.created", "invoice.paid" ], "target_url": "https://example.com/agiled/webhooks" }'{ "data": { "description": "string", "events": [ "contact.created" ], "id": "string", "last_delivery_at": "string", "secret": "string", "status": "string", "target_url": "http://example.com" }}