Webhooks
POSTCreate a webhook
Register a webhook URL for flag lifecycle events
POST
/v1/projects/{projectId}/webhooksCreate a webhook
curl --request POST \
--url 'http://localhost:4000/v1/projects/{projectId}/webhooks' \
--header 'Authorization: Bearer <token>'200
application/json{}Create a webhook
Register an outbound webhook for a project to receive notifications about selected flag lifecycle events. Supported events are flag.created, flag.updated, flag.deleted, and targeting.updated; provide at least one event when creating the webhook. You may also provide a signing secret between 8 and 128 characters for the destination.
After creation, use List webhooks to retrieve the webhooks configured for the project.
Authentication
AuthorizationbearerrequiredServer API key (srv_). See Authentication.
Path Parameters
projectIdstringrequiredProject ID