Skip to main content
POST
/
submitMediaPost
Submit media post for job deliverable
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/submitMediaPost \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "media_link": "https://instagram.com/p/abc123",
  "milestone_id": 1
}
'

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

Media URL (supports comma-separated multiple URLs)

Example:

"https://instagram.com/p/abc123"

milestone_id
integer
required

Milestone ID

Example:

1

Response

200

Media post submitted