---
title: "A recovery sequence was built in a project."
method: POST
path: "sequence.created"
tags: ["sequence.* events"]
---

# A recovery sequence was built in a project.

`POST sequence.created` (webhook)

### When this fires

A creator built a sequence on the Revenue Recovery page: a name, a trigger and whether it runs. It fires on **authoring**, with no steps yet; the steps arrive one by one as `sequence.updated`. Nobody is enrolled by this event: enrolment waits for the trigger to fire for a member, and a sequence with no steps enrols nobody even then.

### Related events

- `sequence.updated`: the steps arrive, and every later change.
- `sequence.enrolled`: the first member enters it.

## Headers

- `SB-Signature` string, required
- `SB-Event-Id` string, required
- `SB-Event-Name` string, required
- `Content-Type` string, required
- `User-Agent` string, required

## Payload

- object: The envelope every event is delivered in.
  - `id` string, required: A ULID unique to the event, prefixed `evt_`. Every retry carries the same id, so it is the key to deduplicate on.
  - `type` 'sequence.created', required: The event name, always `sequence.created` here.
  - `created_at` string, date-time, required: When the event was emitted, server time, ISO 8601.
  - `api_version` string, required: The contract version of the payload shape, `2026-05-01` today. A breaking change to a shape ships under a new version.
  - `project_id` string, uuid, nullable, required: The project the event belongs to; null for team-scoped and billing events.
  - `data` object, required: The event-specific payload. Keys that do not apply to a given emission are omitted rather than sent as null, so check for presence.
    - `sequence` object, required: The sequence snapshot every lifecycle event carries.
      - `id` string, uuid, required: The sequence's UUID. No prefix; only the envelope `id` is prefixed.
      - `name` string, required: Creator-facing label, up to 120 characters. Never shown to members.
      - `trigger` 'churned' | 'lead' | 'stalled_checkout' | 'trial_ending', required: What enrols a member. Only `churned` can be chosen today.
      - `active` boolean, required: Whether the sequence enrols and sends. `true` unless the creator switched it off at authoring.
      - `steps` object[], required: The steps in order. Always empty on this event.
      - `steps[]` object, required: One step of the sequence.
        - `id` string, uuid, required: The step's UUID.
        - `position` integer, required: The step's place, contiguous from 1.
        - `delay_days` integer, required: Days after the trigger for the first step (0 to 180; 0 is the next hourly run), after the step before for the rest (1 to 180).
        - `coupon_id` string, uuid, nullable, required: The project coupon the step carries, or `null`.
      - `created_at` string, date-time, required: When the sequence was built.
      - `updated_at` string, date-time, required: When it last changed.
      - `deleted_at` string, date-time, nullable, required: When the creator deleted it. Always `null` on this event.

## Acknowledgement `2XX`

Your endpoint acknowledged the delivery. Any 2xx status within 30 seconds marks it delivered; the response body is ignored.

## Other responses

- `default`: Any other status, a connection failure, or no answer within 30 seconds counts as a failed attempt. The delivery is retried 8 times, after 10 seconds, 30 seconds, 2 minutes, 10 minutes, 1 hour, 6 hours, 1 day, 3 days; the last failure dead-letters it, and it can be retried from the dashboard or `POST /v1/webhook-deliveries/{delivery}/retry`. After 20 consecutive failures the endpoint is paused until it is resumed.

---

[API](https://skmtc.dev/memberpass/apis/subscriby-rest-api.md) · [All operations](https://skmtc.dev/memberpass/apis/subscriby-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memberpass/apis/subscriby-rest-api/revisions/7b538e472e9a?raw)
