Skip to main content
WEBHOOK
streak.freeze_earned
{
  "type": "streak.freeze_earned",
  "user": {
    "id": "user-id",
    "email": "user@example.com",
    "tz": "Europe/London",
    "subscribedToEmails": true,
    "created": "2021-01-01T00:00:00Z",
    "updated": "2021-01-01T00:00:00Z",
    "attributes": {
      "department": "engineering",
      "role": "developer"
    }
  },
  "earned": 1,
  "freezes": 2
}

Body

application/json

The webhook event.

type
enum<string>
required

The webhook event type.

Available options:
streak.freeze_earned
user
object
required

The user who earned streak freezes. An object with editable user fields.

earned
integer
required

The number of freezes earned.

freezes
integer
required

The total number of freezes the user has after the event.

Response

200

Return a 200 status to indicate the webhook was received and processed.

I