Skip to main content
POST
/
applyJob
Apply to a job
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/applyJob \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "sign_agreement_upfront": true,
  "agreement_signed_name": "Jane Athlete",
  "will_disclose": "Y",
  "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
  "question_answer": []
}
'

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
id
integer
required

Job ID

Example:

1

sign_agreement_upfront
boolean
required

Must be true

Example:

true

agreement_signed_name
string
required

Name for agreement signing

Example:

"Jane Athlete"

will_disclose
enum<string> | null

Will disclose (default N)

Available options:
Y,
N
Example:

"Y"

image
string | null

Optional base64 image attachment

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."

question_answer
object[] | null

Screening question answers

Example:
[]

Response

200

Applied successfully