Skip to main content
POST
/
athlete
/
getRecentDealsPost
Get recent deals for NIL feed
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/athlete/getRecentDealsPost \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": 1,
  "limit": 10,
  "starting_date": "2024-01-01",
  "filterByType": "athlete",
  "filterByPlatform": "instagram",
  "filterByCompensation": "paid",
  "filterByDealType": [],
  "filterByAthleteId": [],
  "filterByBrandId": []
}
'

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.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
page
integer
Example:

1

limit
integer
Example:

10

starting_date
string<date>
Example:

"2024-01-01"

filterByType
string
Example:

"athlete"

filterByPlatform
string
Example:

"instagram"

filterByCompensation
string
Example:

"paid"

filterByDealType
integer[] | null

Filter by deal type IDs

Example:
[]
filterByAthleteId
integer[] | null

Filter by athlete IDs

Example:
[]
filterByBrandId
integer[] | null

Filter by brand/partner IDs

Example:
[]

Response

200

Recent deals posts