Most endpoints require a Bearer JWT token. Obtain one by calling
POST /api/login with valid credentials. See the authentication section below for details.Base URL
POST /login resolves to https://api.mogl.online/api/login.
Authentication
All user-facing endpoints require a JWT Bearer token. Pass the token in theAuthorization header as Bearer <token>. Obtain it from POST /login.
Obtaining a token
token field. Include it in all subsequent requests:
Rate limits
The API applies rate limiting to prevent abuse. If you exceed the limit for an endpoint you will receive a429 Too Many Requests response. Use exponential backoff before retrying.
Endpoint groups
Authentication
Login, logout, password reset, and the authenticated user endpoint.User registration
MOGL supports four account types, each with its own multi-step onboarding flow.- Athlete
- Partner
- Agent
- Fan
POST /check-email-exist before starting registration to validate that the email address is not already taken.
Athletes
Endpoints athletes use to manage their profile, search for partners, track deliverables, and interact with deal opportunities.Partners
Endpoints brand partners use to post jobs, review applicants, manage deliverables, and pay athletes.Content library
Partners can access a library of all approved deliverable assets submitted against their campaigns.Deliverable reports
Agents
Agents manage a roster of athletes, apply to jobs on their behalf, and handle billing through Stripe.Agent payment methods
Jobs and deals
The Jobs group covers the full lifecycle of a NIL deal: creation, discovery, applications, hiring, deliverables, and contract management.
For the Deals group, use
POST /myDealsV2 to list all active deals for the authenticated user and POST /myDealsCount to retrieve status counts in a single call.