curl --request POST \
--url http://localhost/mogl/mogl-backend/api/agent/apply-athletes-to-job \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"job_id": 1038,
"athlete_ids": [
132,
1181
],
"sign_agreement_upfront": true,
"agreement_signed_name": "Univ mm",
"athlete_{id}": [],
"will_disclose": "Y",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
}
'{
"message": "Athletes successfully Applied",
"errors": [],
"applied": []
}Apply one or more athletes to a job. Requires agreement acceptance. Screening answers are sent as dynamic keys ‘athlete_’ (e.g. athlete_132, athlete_1181) — each is an array of objects with question_id, question, and answer.
curl --request POST \
--url http://localhost/mogl/mogl-backend/api/agent/apply-athletes-to-job \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"job_id": 1038,
"athlete_ids": [
132,
1181
],
"sign_agreement_upfront": true,
"agreement_signed_name": "Univ mm",
"athlete_{id}": [],
"will_disclose": "Y",
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
}
'{
"message": "Athletes successfully Applied",
"errors": [],
"applied": []
}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.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Job ID to apply to
1038
Array of athlete user IDs
[132, 1181]Must be true to proceed
true
Name used for agreement signing
"Univ mm"
Dynamic key per athlete (e.g. athlete_132). Array of screening question answers for that athlete.
Show child attributes
[]Will disclose (default Y)
Y, N "Y"
Optional base64 image attachment
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."