Skip to main content
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
type
string
required
The event type (e.g. invite.accepted).
data
object
required
Event-specific payload for this webhook.
createdAt
string
required
ISO 8601 timestamp when the webhook event was created.
{
  "type": "invite.accepted",
  "data": {
    "invite": {
      "id": "550e8400-e29b-41d4-a716-446655440600",
      "email": "newmember@example.com",
      "createdAt": "2025-02-26T11:00:00.000Z",
      "acceptedAt": "2025-02-26T14:30:00.000Z",
      "invitedBy": {
        "id": "550e8400-e29b-41d4-a716-446655440010",
        "firstName": "Jane",
        "lastName": "Doe",
        "email": "jane@example.com"
      },
      "acceptedBy": {
        "id": "550e8400-e29b-41d4-a716-446655440020",
        "firstName": "John",
        "lastName": "Smith",
        "email": "newmember@example.com"
      },
      "workspace": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "slug": "acme",
        "name": "Acme Inc"
      }
    }
  },
  "createdAt": "2025-02-26T14:30:00.000Z"
}