openapi: 3.0.3 info: title: Clerk Webhook Events x-logo: url: https://clerk.com/_next/image?url=%2Fimages%2Fclerk-logo.svg&w=96&q=75 altText: Clerk docs href: https://clerk.com/docs contact: email: support@clerk.com name: Clerk Platform Team url: https://clerk.com/support description: 'Clerk''s webhooks allow you to receive real-time notifications about events that happen in your Clerk account. You can use webhooks to trigger actions in your application based on these events. For example, you can use webhooks to update your database when a user signs up or to send a notification when a user updates their profile. Webhooks are sent as HTTP POST requests to a URL that you specify. The request body contains a JSON payload with information about the event. To learn more about webhooks, see [Webhooks](https://clerk.dev/docs/webhooks).' version: v1 termsOfService: https://clerk.com/terms license: name: MIT url: https://github.com/clerkinc/clerk-sdk-go/blob/main/LICENSE servers: - url: https://api.clerk.dev/v1 externalDocs: url: https://clerk.dev/docs x-webhooks: email.created: post: description: Email created operationId: email.created requestBody: content: application/json: schema: allOf: - $ref: '#/components/schemas/WebhookEventPayload' - properties: data: $ref: '#/components/schemas/EmailEventPayload' required: - data example: event_attributes: http_request: client_ip: 0.0.0.0 user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 object: event type: email.created instance_id: ins_123 timestamp: 1716883200 data: body: "\n\n\n
\n \n \n\n \
\
| \n