Saltar al contenido principal
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
}

Cuerpo

application/json

The webhook event.

type
enum<string>
requerido

The webhook event type.

Opciones disponibles:
streak.freeze_earned
user
User · object
requerido

The user who earned streak freezes.

earned
integer
requerido

The number of freezes earned.

freezes
integer
requerido

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

Respuesta

200

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