Skip to navigation

Toggle Completion

Toggle page completion on or off. Creates a completion record if none exists, removes it if already completed.

Authentication: Required — Bearer token.

Request body:

  • product (required) — Product slug
  • page (required) — Page slug within the product

Response:

  • message — “completed” if the page was marked complete, “completion removed” if it was unmarked

Side effects: Clears the user’s cache so dashboard progress updates immediately.

Errors:

  • 404 — Page not found
  • 422 — Validation errors

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
productstringOptional
pagestringOptional

Response

OK