Skip to main content
POST
/
saveMyDisclosure
Save athlete agent disclosure
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/saveMyDisclosure \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agency_name": "Elite Sports Agency",
  "email": "agent@example.com",
  "website": "https://example.com",
  "phone_number": "+11234567890",
  "signature": "John Smith",
  "is_referred": "N",
  "referred_by": "Jane Agent",
  "add_attachment": [],
  "delete_attachment": []
}
'

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

Max 250 characters

Example:

"Elite Sports Agency"

email
string<email>
required

Max 250 characters

Example:

"agent@example.com"

website
string
required

Max 250 characters

Example:

"https://example.com"

phone_number
string
required

Max 25 characters

Example:

"+11234567890"

signature
string
required

Max 250 characters

Example:

"John Smith"

is_referred
string

Y or N, defaults to N

Example:

"N"

referred_by
string

Max 250 characters

Example:

"Jane Agent"

add_attachment
string[]

Array of base64 encoded files with data URI prefix (e.g. data:image/png;base64,iVBOR... or data:application/pdf;base64,...). Send empty array [] if no attachments.

Example:
[]
delete_attachment
integer[]

Array of attachment IDs to delete. Send empty array [] if none.

Example:
[]

Response

200

Disclosure saved