Skip to main content
POST
Error

Autorizações

Authorization
string
header
obrigatório

A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange. Only a 401 means it is spent; not_a_member (403) is about the organization named in X-Organization-Id and leaves the token good for the others.

Cabeçalhos

X-Organization-Id
string

The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.

Parâmetros de consulta

environment
enum<string>
padrão:live

Which environment to act in. A view parameter, valid only on the staff surface — a machine credential never chooses its environment, it is resolved from the key.

Opções disponíveis:
live,
test

Corpo

application/json
name
string
obrigatório
Maximum string length: 120
active
boolean
padrão:false
segment_id
string<uuid> | null
unlocks_after
string<uuid> | null

The checklist this one waits on. null clears it. Same environment, and a cycle is a 400.

selectable
boolean

Whether this one is a choice the person makes rather than a decision the segment makes for them.

snooze_days
integer
padrão:7

How many days a close holds for. After that the checklist comes back.

0 means a close lasts forever — the right value for a checklist that really is a one-time offer, and the behaviour every checklist had before this field existed.

Seven by default, because pressing X on a setup guide almost never means "never help me again"; it means "not now". Changing this never moves a snooze already running: the end is computed when somebody closes the card and stored, so the promise made to that person is the one that is kept.

Intervalo obrigatório: 0 <= x <= 365
hint_pending
string | null

What it says on hover while it is NOT done — a reason or an instruction the title has no room for.

Two texts and not one because the same line means different things before and after: pending, the useful sentence is an instruction; done, an instruction is noise and what is useful is what it bought. A single field would force a sentence that is wrong half the time.

Maximum string length: 200
hint_done
string | null

What it says on hover once it IS done. Null is the common case and reads correctly — nothing on hover about a thing somebody already did.

Maximum string length: 200
hint_locked
string | null

What the heading says on hover while the checklist is LOCKED — the third state a heading has and a step does not.

The widget already shows a padlock and the name of what it waits on, and a name is a door rather than a reason. This is the reason.

Maximum string length: 200

Resposta

The checklist, with no steps yet.

checklist
object

An onboarding list, aimed at a segment and never at a filter of its own. It counts from the moment it is turned on: a fact that happened before it existed does not count, because the bus is not an event store and a rule that applied to some steps and not others would produce a funnel whose numbers cannot be compared.