A valid request URL is required to generate request examples{
"step": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"title": "<string>",
"kind": "event",
"event_type": "<string>",
"feature_key": "<string>",
"action_url": "<string>",
"action_label": "<string>",
"hint_pending": "<string>",
"hint_done": "<string>",
"position": 123,
"sightings": 123,
"last_seen": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Add a step
Requires engagement:manage. Up to twelve steps per checklist — past about five nobody finishes one.
Two kinds, and they are satisfied by two different mechanisms:
eventnames one of the facts this system publishes about a contact (event_typeson the checklist read is the list). It is satisfied when that fact lands, written down per person, and it is what the funnel counts. A type outside the list is refused by name rather than stored: a step waiting on a fact nobody publishes is a line you watch at 0% forever with nothing saying why.entitlementnames a feature key from your catalogue. It is decided on the read against the team the request names, and nothing is stored — a feature is held by a customer, and which of a contact’s teams answers is decided per request.
key is what your own code addresses the step by if you render your own UI instead of the widget’s; it is unique per checklist.
A valid request URL is required to generate request examples{
"step": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"title": "<string>",
"kind": "event",
"event_type": "<string>",
"feature_key": "<string>",
"action_url": "<string>",
"action_label": "<string>",
"hint_pending": "<string>",
"hint_done": "<string>",
"position": 123,
"sightings": 123,
"last_seen": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Autorizações
Cabeçalhos
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.
Corpo
What satisfies the step.
event — a fact we publish about a contact. A closed list: a name that is not on it is refused, so this kind cannot become a step that never goes green.
product_event — an event your product sends through track(). Your vocabulary is open, so a name cannot be refused for not existing; only its shape is checked, and the step comes back with sightings so a typo is visible. This kind carries a weaker guarantee than the other two: analytics drops events under load and our own bus does not.
entitlement — a feature the contact's team holds, decided on every read rather than recorded.
event, product_event, entitlement Whether the step is satisfied for the PERSON or for their TEAM.
contact is the default and what every step meant before this field existed: one person, one step. customer is for the work that is the account's rather than anybody's — connecting a payment provider, importing a catalogue — and it is satisfied for everybody on the team as soon as any member does it, resolved on the read against the team the request is for.
Nothing is recorded for a team: the progress row still belongs to the person who did the work, and this asks a different question of the same rows. So the funnel counts TEAMS for a customer-scoped step and people for the rest — the step's scope comes back on the completion read for exactly that reason.
Refused on an entitlement step, which is already resolved against the team by construction. Frozen after creation, like kind: flipping it under people who already hold progress would change what their rows mean.
contact, customer Optional. Where the line sends somebody when they click it: a path starting with / (your own app) or an absolute http(s) URL.
Clicking never satisfies a step — kind decides that. A step with no destination is a line the reader has to go find the screen for themselves.
2048What 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.
200