Skip to main content
POST
/
agent
/
invite-athlete
Send invitation to athlete
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/agent/invite-athlete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "agent@example.com"
}
'

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
email
string<email>
required

Athlete email address to invite

Example:

"agent@example.com"

Response

200

Invitation sent