Skip to main content
POST
/
searchAthleteInvite
Search athletes for job invite
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/searchAthleteInvite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "job_id": 1,
  "keywordSearch": "John",
  "sport_category_id": 24,
  "gender": "Male",
  "school": "Abilene Christian University",
  "is_current_athlete": "Y",
  "job_for": "athlete",
  "filterByInstaMin": 1000,
  "filterByInstaMax": 1000000,
  "filterByTwitterMin": 500,
  "filterByTwitterMax": 500000,
  "filterByTiktokMin": 1000,
  "filterByTiktokMax": 2000000,
  "sortOrderInsta": "asc",
  "sortOrderTiktok": "asc",
  "sortOrderTwitter": "asc",
  "except": []
}
'

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.

Query Parameters

page
integer

Page number

Example:

1

page_limit
integer

Items per page (default 10)

Example:

10

Body

application/json
job_id
integer
required
Example:

1

Search keyword

Example:

"John"

sport_category_id
integer
Example:

24

gender
string
Example:

"Male"

school
string
Example:

"Abilene Christian University"

is_current_athlete
string
Example:

"Y"

job_for
string
Example:

"athlete"

filterByInstaMin
integer
Example:

1000

filterByInstaMax
integer
Example:

1000000

filterByTwitterMin
integer
Example:

500

filterByTwitterMax
integer
Example:

500000

filterByTiktokMin
integer
Example:

1000

filterByTiktokMax
integer
Example:

2000000

sortOrderInsta
enum<string> | null

Sort by Instagram followers

Available options:
asc,
desc
Example:

"asc"

sortOrderTiktok
enum<string> | null

Sort by TikTok followers

Available options:
asc,
desc
Example:

"asc"

sortOrderTwitter
enum<string> | null

Sort by Twitter followers

Available options:
asc,
desc
Example:

"asc"

except
integer[]

Athlete IDs to exclude

Example:
[]

Response

200

Athletes available to invite