Skip to main content
POST
/
JobShareCall
Trigger job share notification (server-to-server)
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/JobShareCall \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "athlete_share": "All",
  "share_job_id": "1"
}
'
{
  "status": "success",
  "message": "Job share notification triggered.",
  "errors": []
}

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

X-API-KEY
string
header
required

Server-to-Server API Key for internal/lambda/cron calls

Body

application/json
athlete_share
string
required

Who to share with: 'All' or specific athlete selection

Example:

"All"

share_job_id
string
required

Comma-separated job IDs to share

Example:

"1"

Response

200 - application/json

Job share triggered

status
string
Example:

"success"

message
string
Example:

"Job share notification triggered."

errors
string[]
Example:
[]