Create a new webhook endpoint. The response includes a signingSecret that is only returned once — store it securely for verifying webhook signatures.
The enabledEvents array specifies which global event types this endpoint should receive. Use the Webhook Events reference to see available event types.
To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use Create Webhook Subscription after creating the endpoint.
Bearer authentication of the form Bearer <token>, where token is your auth token.
A human-readable name for the webhook endpoint.
The list of global event types to subscribe to. Pass an empty array to create an endpoint with no global events (useful if you only plan to use resource-scoped subscriptions).
A human-readable name for the webhook endpoint.
The signing secret used to verify webhook payloads. This is only returned when creating the endpoint and cannot be retrieved again.
Store it securely — you will need it to verify webhook signatures.
API version to use for the request. If you’re using an SDK, you can ignore this parameter. If you are not using an SDK and do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.