Skip to main content
POST
/
onboardingTutorialUpdate
Update onboarding tutorial progress
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/onboardingTutorialUpdate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page_id": "My-Jobs",
  "last_seen_id": "1",
  "skipp_all_arr": [
    {
      "page_id": "My-profile",
      "last_seen_id": "4"
    },
    {
      "page_id": "My-Jobs",
      "last_seen_id": "2"
    }
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
page_id
string

Page identifier (used with last_seen_id)

Example:

"My-Jobs"

last_seen_id
string

Last seen step/item ID within the page

Example:

"1"

skipp_all_arr
object[]

Bulk update: array of {page_id, last_seen_id} objects (alternative to single pair). Example: [{page_id:'My-profile', last_seen_id:'4'}, {page_id:'My-Jobs', last_seen_id:'2'}]

Example:
[
{
"page_id": "My-profile",
"last_seen_id": "4"
},
{ "page_id": "My-Jobs", "last_seen_id": "2" }
]

Response

200

Tutorial progress updated