Skip to main content
The MOGL Platform Core API is the primary interface for building on top of MOGL. It powers everything athletes, brand partners, and agents do on the platform: registering accounts, posting and applying to NIL deals, processing Stripe payments, exchanging messages, and managing deliverables. All endpoints accept and return JSON.
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

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

Authentication

All user-facing endpoints require a JWT Bearer token. Pass the token in the Authorization header as Bearer <token>. Obtain it from POST /login.

Obtaining a token

The response includes a 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 a 429 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.
Use 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.
Use POST /add-job to create a job, then POST /inviteAthleteJobBulk to invite athletes at scale. The POST /athleteHire endpoint moves an applicant into hired status and triggers contract generation.
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.

Payments

MOGL uses Stripe for all payment processing. Athletes receive payouts through Stripe Express Connect accounts.

Chat and messaging


Notifications


Public endpoints

These endpoints do not require authentication and are used for public discovery, SEO, and guest browsing.

Example: fetching your agent profile

A successful response returns the agent profile object including agency name, contact details, Stripe account status, and represented athlete count.