Creates a webhook endpoint for receiving events. Only OWNERS and ADMINS can create webhooks.
Bearer <token>| Parameter | Type | Required | Description |
|---|---|---|---|
organizationId | string (UUID) | Yes | Organization ID |
| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Webhook endpoint URL (must be valid HTTPS URL) |
events | array | Yes | Array of event types to subscribe to |
organization.created, organization.updated, organization.deletedmember.added, member.removed, member.role_updatedinvite.created, invite.accepted, invite.cancelledoauth_app.created, oauth_app.revokedwebhook.createdsecret value - it’s only returned once and used for signature verification.
X-Webhook-Signature header for verification.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Webhook endpoint URL
"https://example.com/webhooks"
Events to subscribe to
organization.created, organization.updated, organization.deleted, member.added, member.removed, member.role_updated, invite.created, invite.accepted, invite.cancelled, oauth_app.created, oauth_app.revoked, webhook.created [
"organization.created",
"organization.updated"
]Webhook created successfully. Returns webhook configuration with signing secret.