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": []
}
'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.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Max 250 characters
"Elite Sports Agency"
Max 250 characters
"agent@example.com"
Max 250 characters
"https://example.com"
Max 25 characters
"+11234567890"
Max 250 characters
"John Smith"
Y or N, defaults to N
"N"
Max 250 characters
"Jane Agent"
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.
[]Array of attachment IDs to delete. Send empty array [] if none.
[]Disclosure saved