Saltar al contenido principal
WEBHOOK
streak.lost
{
  "type": "streak.lost",
  "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"
    }
  },
  "length": 7
}

Cuerpo

application/json

The webhook event.

type
enum<string>
requerido

The webhook event type.

Opciones disponibles:
streak.lost
user
User · object
requerido

The user who lost the streak.

length
integer
requerido

The length of the streak that was lost.

Respuesta

200

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