Skip to main content
GET
/
api
/
library
/
{media_id}
Get library file
curl --request GET \
  --url https://api.mymarky.ai/api/library/{media_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "business_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "alt_text": "<string>",
  "original_url": "<string>",
  "type": "<string>",
  "width": 123,
  "height": 123,
  "source": "<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

media_id
string
required

Response

Successful Response

id
string
required

Media ID

business_id
string
required

Business this media belongs to

created_at
string<date-time>
required

When the media was uploaded

alt_text
string | null

Alt text description

original_url
string | null

Media URL

type
string | null

Media type: image, video, or audio

width
integer | null

Width in pixels

height
integer | null

Height in pixels

source
string | null

Media origin (e.g. upload, unsplash)