Skip to main content
POST
/
partner
/
content
/
assets
/
{id}
/
download
Request single asset download
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/partner/content/assets/{id}/download \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "asset_type": "uploaded"
}
'

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.

Path Parameters

id
integer
required

Asset ID

Example:

1

Body

application/json
asset_type
enum<string> | null

Type of asset to download (default: uploaded)

Available options:
uploaded,
social_media
Example:

"uploaded"

Response

200

Download request queued