Create Webhook Endpoint
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.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
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.
Request
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).
Response
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.
The actor that created this resource.
user— the resource was created via the studio by a logged-in user. The user’semailis exposed.api_key— the resource was created via the API using an API key. The key’snameis exposed.
May be null for resources created before attribution.

