GET /api/v2/public/flows/{slug}#
Get public flow by slug. Refuses with 403 INVITE_ONLY_FLOW when access_mode is invite_only and no invite_token is given.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
slug required | path | string | |
invite_token | query | string | |
flow_version_id | query | string (uuid) | |
Responses
200 Public flow with fields and documents. #064: `accepting` is false when the organization cannot take a new applicant right now (plan allowance used up, or billing paused), with `paused_reason` (`plan_limit` | `billing_paused`) for the client's logic only — the form shows its polite paused page, never a billing message.
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of flows | |
id required | string | |
attributes required | object | |
organization_id | string | null | |
owner_user_id | string | null | |
policy_id required | string | |
title required | string | |
slug required | string | |
status required | string one of draft, active, inactive | |
access_mode required | string one of public_link, invite_only | |
submission_mode required | string one of approval, plain | |
instructions required | string | |
success_message required | string | |
active_flow_version_id | string | null | |
accepting | boolean | |
paused_reason | string | null one of plan_limit, billing_paused, plan_downgrade, staff | |
created_at required | string (date-time) | |
updated_at required | string (date-time) | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
403 Flow is invite-only and accessed via public slug
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
404 Not found, or the invite token does not belong to this flow
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 FLOW_CLOSED: the flow is not active (040 M4) — unless invite_token names a live invite with a draft under way (review R-M5); or the invite was already submitted, revoked or expired
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
GET /api/v2/public/try-out/{token}#
A try-out link's runnable form. Credential-free: the token is the credential. Every failure is 410 TRY_OUT_EXPIRED.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Responses
200 The public flow shape plus is_test and the banner facts
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of flows | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
410 TRY_OUT_EXPIRED
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |