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 University API gives compliance administrators at member institutions direct programmatic access to the data they need to meet NIL reporting obligations. You can query athlete transactions, export records for audits, review agent disclosure filings, configure institution-wide settings, and pull analytics broken down by sport, payment type, and activity category. This API is separate from the Core API and operates under a dedicated compliance authentication scheme.
This API is intended for university compliance offices and institutional administrators. Athletes and brand partners should use the Core API instead.

Base URL

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

Authentication

The University API uses JWT Bearer tokens issued by its own login endpoint, separate from the Core API.

Obtaining a token

Call POST /login with your compliance portal credentials:
curl -X POST https://compliance-api.mogl.online/api/compliance/login \
  -H "Content-Type: application/json" \
  -d '{"email": "compliance@yourschool.edu", "password": "your-password"}'
The response returns a token field. Pass it as a Bearer token in all subsequent requests:
Authorization: Bearer <token>

User management

Compliance administrators can invite additional users to their institution’s portal and manage passwords without leaving the API.
MethodPathDescription
POST/registerRegister a new compliance user
POST/invite-userInvite a user to the compliance portal
POST/set-passwordSet a password for a newly invited user
POST/change-passwordChange password using a reset token
POST/logoutInvalidate the current session

Endpoint groups

Transactions

The Transactions group is the core of compliance reporting. Use it to monitor all NIL activity at your institution, export data for audits, and identify your top-earning athletes and teams.
MethodPathDescription
GET/transactionsList all transactions with filters (dashboard view)
GET/transactions/summarySummary statistics: totals, counts, averages
GET/transactions/top-athletesRank athletes by transaction volume
GET/transactions/top-teamsRank teams by transaction volume
GET/transactions/exportDownload a full transaction export as a ZIP
Use /transactions/summary as your dashboard headline metric, then drill into /transactions/top-athletes to identify high-earning athletes who may need closer compliance review.

Athletes

Retrieve athlete records and the details of their individual NIL jobs, including the ability to download executed contracts.
MethodPathDescription
GET/athletes/getAthleteList athletes at your institution
POST/athletes/jobDetailRetrieve job details for a specific athlete
GET/athletes/exportExport athlete records to a downloadable file
GET/athletes/{athleteId}/jobs/{jobId}/download-contractDownload the executed contract for a job
GET/athletes/{athleteId}/disclosed-jobs/{disclosedJobId}/download-contractDownload contract for a disclosed job

Analytics

Run aggregate analytics across your institution’s NIL activity. These endpoints power dashboard charts and can be queried independently for reporting exports.
MethodPathDescription
GET/analytics/top-nil-sportNIL activity and earnings broken down by sport
GET/analytics/top-nil-paymentNIL activity broken down by payment type
GET/analytics/number-applicationsCount of athletes and deal applications over time
GET/analytics/types-nilBreakdown of NIL activity categories
Use the filter endpoints to populate dropdowns before querying analytics:
MethodPathDescription
GET/filters/datesAvailable date range presets
GET/filters/sportsSport options for filtering
GET/filters/genderGender options for filtering

College settings

Read and update your institution’s compliance configuration, and manage the admin users who have access to the portal.
MethodPathDescription
GET/college/usersList all users with access to your institution’s portal
GET/college-settingsRetrieve current institution settings
POST/college-settingsUpdate or create institution settings

Athlete agent disclosures

Many states and institutions require athletes to formally disclose relationships with agents. This group lets you create, review, update, and archive those disclosures — and download supporting documents.
MethodPathDescription
GET/athlete-agent-disclosuresList all disclosure filings for your institution
POST/athlete-agent-disclosuresSubmit a new disclosure on behalf of an athlete
GET/athlete-agent-disclosures/{id}Retrieve a specific disclosure
PUT/athlete-agent-disclosures/{id}Update a disclosure
DELETE/athlete-agent-disclosures/{id}Delete a disclosure
GET/athlete-agent-disclosures/{id}/download-documentsDownload all supporting documents for a disclosure

Notification preferences

Compliance users can configure which platform events trigger email notifications to their account.
MethodPathDescription
GET/getMyNotificationPreferenceRetrieve the current user’s notification preferences
POST/saveMyNotificationPreferenceUpdate notification preferences

Example: listing transactions with a summary

The following example fetches the transaction summary for your institution. Replace <your-token> with the JWT received from /compliance/login.
curl -X GET https://compliance-api.mogl.online/api/compliance/transactions/summary \
  -H "Authorization: Bearer <your-token>" \
  -H "Accept: application/json"
The response returns aggregate totals, counts, and averages across all NIL transactions at your institution for the current reporting period.

Public reference endpoints

These endpoints do not require authentication and return stable reference data you can cache locally.
MethodPathDescription
GET/collegesList all colleges registered on the platform
GET/filters/rolesList available user role filter options