Skip to main content
POST
/
userJobs
Get user's jobs (athlete/partner view)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/userJobs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": 1,
  "limit": 10,
  "page_limit": 10,
  "job_status": "All Job",
  "filterByMultiParameter": "test",
  "job_id": 1,
  "athlete_id": 123,
  "id": 1,
  "sort_order": "most_recent"
}
'

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
integer | null
Example:

1

limit
integer | null
Example:

10

page_limit
integer | null

Alias for limit (takes priority)

Example:

10

job_status
string | null

Filter: Invited, Pending, Hired, Ongoing, Voided, Payment Request, Completed, Rejected, All Job

Example:

"All Job"

filterByMultiParameter
string | null

Search keyword

Example:

"test"

job_id
integer | null

Filter by specific job ID

Example:

1

athlete_id
integer | null

Athlete ID (required for agent context)

Example:

123

id
integer | null

User ID (partner context — list jobs for this user)

Example:

1

sort_order
enum<string> | null

Sort order (athlete/agent view)

Available options:
pay_highest,
name_asc,
name_desc,
most_recent
Example:

"most_recent"

Response

200

User job list