Documentation
POST /api/walkthrough/dismiss
Dismiss the walkthrough.
| Request | POST /api/walkthrough/dismiss |
|---|---|
| Authentication | Session cookie required |
| Handler | flowfinds-organ/app/api/walkthrough/dismiss/route.ts |
What it does
Dismissal is refused on the last step, where the email is asked for: the response is 409 with `reason: "email_required"` rather than a silent no-op.
Authentication
Session cookie required. Send the ff_session cookie. Without one the engine treats the caller as a new visitor with no holds and no claims, and returns a new cookie to use from then on.
Parameters
This endpoint takes no parameters.
Request
The cookie jar carries the session between calls. Angle-bracketed values are the parameter types from the table above.
curl -s -b cookies.txt -c cookies.txt \
-X POST -H 'Content-Type: application/json' \
"https://flowfinds.ai/api/walkthrough/dismiss"const res = await fetch("https://flowfinds.ai/api/walkthrough/dismiss", {
method: "POST",
credentials: "include",
});
const data = await res.json();import requests
s = requests.Session()
r = s.post("https://flowfinds.ai/api/walkthrough/dismiss")
data = r.json()Recorded example
curl -s -b cookies.txt -c cookies.txt \
-X POST -H 'Content-Type: application/json' \
-d '{}' \
"$FLOWFINDS_ORIGIN/api/walkthrough/dismiss"Responses
200 — Dismissed.
| Field | Type | Description |
|---|---|---|
ok | boolean | True. |
Errors
| Status | Reason | When |
|---|---|---|
404 | disabled | The walkthrough feature flag is off. |
409 | email_required | The caller is on the final step. |
Related
POST /api/intent— Ask the commerce assistant, or resolve a navigation intent.POST /api/pages— Generate a page from an intent.POST /api/journey— Issue a single-use journey carrier.POST /api/journey/[id]/consume— Redeem a journey carrier once.GET /api/walkthrough— The walkthrough's steps and this user's position in it.POST /api/walkthrough/advance— Move forward or back a step.POST /api/auth/request-link— Request a magic sign-in link.GET /api/auth/callback— Redeem a magic link.
Back to the API reference index, or read the cookbook for recipes that compose this endpoint with others.