Skip to main content
POST
/
partner
/
content
/
content-library
Get content library assets with pagination
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/partner/content/content-library \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": 1,
  "limit": 12,
  "page_limit": 10,
  "date_filter_range": "All",
  "is_all_selected": true,
  "job_id": [],
  "excluded_job_id": []
}
'

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 | null

Page number (default 1)

Example:

1

limit
integer | null

Items per page

Example:

12

page_limit
integer | null

Alias for limit (takes priority)

Example:

10

date_filter_range
string | null

Date range filter (default All)

Example:

"All"

is_all_selected
boolean | null

If true, returns assets from all jobs

Example:

true

job_id
integer[] | null

Array of job IDs to filter by (used when is_all_selected is false)

Example:
[]
excluded_job_id
integer[] | null

Array of job IDs to exclude

Example:
[]

Response

200

Content library assets