Skip to main content

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.

The MOGL Admin API is the back-office interface for platform operations. It covers user account management, job and deal oversight, payment processing and payouts, notification configuration, and site-wide platform settings. Authentication is session-based, using server-side cookies and CSRF tokens rather than Bearer JWTs.
This API is separate from the Core API (which uses JWT Bearer tokens). It is designed for authorized platform operators and is not used in end-user integrations. Contact your MOGL account representative for access.

Base URL

https://back-office.mogl.online
All paths in this reference are appended to this base URL. For example, POST /check-login resolves to https://back-office.mogl.online/check-login.

Authentication

The Admin API uses session-based authentication with CSRF token protection, not Bearer JWT tokens.
1

Fetch a CSRF token

Call GET /updateCsrfToken to retrieve a fresh CSRF token before making any state-changing request.
2

Log in

Call POST /check-login with your admin credentials and the CSRF token. A successful login sets a session cookie.
3

Include CSRF on mutations

Include the CSRF token in the request body or headers for all POST, PUT, PATCH, and DELETE requests.
MethodPathDescription
GET/updateCsrfTokenGet a fresh CSRF token
POST/check-loginLog in and establish a session
GET/logoutInvalidate the current session

Endpoint groups

Dashboard

GET /dashboard
Returns the main admin dashboard. Rate-limited to 5 requests per minute.

Athletes

Create and update athlete accounts, manage their verification and social media connections, and export records.
MethodPathDescription
GET/athletes/{status}/{id}List athletes, filterable by status
POST/athletes/saveCreate or update an athlete account
GET/athletes/view/{id}View full athlete details
GET/athletes/send-email/{id}Send a verification email to an athlete
GET/athletes/view-jobs/{id}/{status}View an athlete’s jobs by status
GET/athletes-exportExport athlete records to Excel
GET/athletes-export-csvExport athlete records to CSV
POST/refresh-socialMedia-data-athleteRefresh social media metrics for an athlete

Partners

MethodPathDescription
GET/partner/{status}/{id}List partners, filterable by status
POST/partner/saveCreate or update a partner account
GET/partner/view/{id}View partner details
POST/partner/associate-universityAssociate a partner with a university
POST/partner/unassociate-university-partnerRemove a partner–university association
GET/partner-exportExport partner records to Excel

Agents

MethodPathDescription
GET/agent/{status}/{id}List agents, filterable by status
POST/agent/saveCreate or update an agent account
GET/agent/view/{id}View agent details
GET/agent/unlink-athlete-agent/{id}Unlink an athlete from an agent
GET/agent/athlete/{id}List athletes linked to an agent
GET/agent/export/agent/listExport agent records to Excel

Jobs

Admins can create jobs directly, manage applicant pipelines, override due dates, and handle contract cancellations.
MethodPathDescription
GET/job/{status}/{id}List jobs, filterable by status
POST/job/saveCreate or update a job
GET/job/view/{id}View full job details
POST/job/jobApplicantPagination/{id}Paginate job applicants
POST/job/jobApplicantHiredPagination/{id}Paginate hired applicants
POST/job/remove-athleteRemove an athlete from a job
POST/job/cancel-contractCancel a job contract
POST/job/update-partner-fee/{job_id}Update or waive the partner fee for a job
POST/job/updateJobStatusFromPendingMove a job out of pending status

Payments

Process payouts, issue refunds, manage Stripe source types, and export payment records.
MethodPathDescription
GET/payment-records/{status}/{id}List payment records, filterable by status
GET/payment-records/athlete-payout/{status}List athlete payouts
GET/payment-records/payout/{id}Trigger a payout for an athlete
POST/payment-refundProcess a payment refund
GET/payment-retry/payout/{id}Retry a failed payout
GET/payments-exportExport payment records to Excel
GET/payments-export-csvExport payment records to CSV
GET/revenue/{status}List revenue records
GET/wallet-history/{id}View wallet transaction history for a user

University admins

MethodPathDescription
GET/university-admin/{status}/{id}List university admin accounts
POST/university-admin/saveCreate or update a university admin
GET/university-admin/send-email/{id}Send a verification email to a university admin

Content management

A full file and folder system for managing platform content assets, with support for multipart uploads for large files.
MethodPathDescription
GET/content-management/{parent_id}Browse files and folders
POST/content-management/saveSave a file or folder
POST/content/multipart/createStart a multipart upload session
POST/content/multipart/signSign an upload part
POST/content/multipart/completeComplete a multipart upload
POST/content-management/deleteDelete a content item
POST/content-management/moveMove a file to a different folder
GET/content-management/download/{id}Download a content file
GET/content-management/preview-url/{id}Get a preview URL for a content item

Notifications

Configure and manage the platform’s notification system, including email, SMS, and in-app notification templates.
MethodPathDescription
GET/notification-overview/{status}View notification overview and trigger status
POST/notification-overview/update/triggerEnable or disable a notification trigger
POST/email-templates/saveSave an email notification template
GET/email-templates/{status}/{id}List email templates
POST/sms-template/saveSave an SMS notification template
POST/inapp-template/saveSave an in-app notification template
GET/inapp-template/{status}List in-app notification templates

Platform configuration

Manage site-wide settings including appearance, email configuration, subscription plans, announcements, and reference data.

Site config

POST /site-config/basic-setting — Update core site settingsPOST /site-config/upload-favicon — Upload logo or faviconPOST /site-config/update-email — Update email sender configuration

Categories and reference data

POST /sport-category/save — Create or update a sport categoryPOST /business-category/save — Create or update a business categoryPOST /jobs-category/save — Create or update a job category

Subscriptions

POST /brand-subscriptions/save — Create or update a subscription planPOST /brand-subscriptions/status_update — Activate or deactivate a planGET /brand-subscriptions/{status}/{id} — List subscription plans

Announcements

POST /announcement/save — Create or update an announcementPOST /announcement-group/save — Create an announcement groupGET /announcement/{id} — List announcements

Rosters

Build and publish custom athlete rosters used for marketing, recruiting, and public-facing pages.
MethodPathDescription
GET/rosters/{status}/{id}List rosters
POST/rosters/saveCreate or update a roster
POST/rosters/save-athletesAdd athletes to a roster
POST/rosters/delete-athletesRemove athletes from a roster
POST/rosters/update-publish-statusPublish or unpublish a roster
POST/rosters/check-urlVerify that a roster URL is available

CMS

Manage all editorial content on the platform including blog posts, FAQs, testimonials, legal terms, and custom pages.
MethodPathDescription
POST/blog/{user_type}/saveSave a blog post
POST/faq/saveSave a FAQ entry
POST/legal-terms/saveSave a legal terms document
POST/athlete-testimonials/saveSave an athlete testimonial
POST/custom-pages/saveSave a custom static page

Export reports

Request and download bulk exports across multiple data domains.
MethodPathDescription
POST/export-report-requestQueue an export report for generation
GET/export-report-processProcess a queued export report
GET/export-report/{code}Download a completed export by code