Skip to main content
POST
/
api
/
files
/
{file_id}
/
media
Attach media to file
curl --request POST \
  --url https://api.mymarky.ai/api/files/{file_id}/media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "media_ids": [
    "<string>"
  ]
}
'
{
  "status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mymarky.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

Body

application/json
media_ids
string[]
required

List of media IDs to attach to this file

Response

Successful Response

status
string
required

Operation result (e.g. 'deleted', 'revoked')