cURL
curl --request POST \ --url https://{cluster}.voucherify.io/management/v1/projects/{projectId}/webhooks \ --header 'Content-Type: application/json' \ --header 'X-Management-Id: <api-key>' \ --header 'X-Management-Token: <api-key>' \ --data '{ "target_url": "<string>", "events": [ "business_validation_rule.assignment.created" ], "active": true }'
{ "object": "webhook", "created_at": "2024-04-30T08:13:55.789Z", "id": "wh_ekFHVL6lqC4lDuIFxpETSGa3", "events": [ "redemption.succeeded" ], "target_url": "your_url", "active": true }
Creates a new webhook configuration.
๐ Webhook Documentation Read Webhooks v2024-01-01 article to learn how webhooks work in Voucherify.
๐ Webhook Documentation
Read Webhooks v2024-01-01 article to learn how webhooks work in Voucherify.
Show child attributes
webhook
Was this page helpful?