antworkDOCS

Listing media

Your workspace's media library, newest first, one page at a time.

GEThttps://antwork.io/api/v1/mediaScoperead

Request

curl "https://antwork.io/api/v1/media?type=video&limit=25" \
  -H "Authorization: Bearer $ANTWORK_API_KEY"

The files a post's media can name. Narrow with type (image, video or document; pdf works too), page with limit (1 to 100, default 25) and cursor. With more than one workspace, send workspaceId. Needs the read scope.

Response

200 OK
{
  "object": "list",
  "media": [
    {
      "object": "media",
      "id": "med_...",
      "workspaceId": "ws_...",
      "url": "https://firebasestorage.googleapis.com/v0/b/.../o/...mp4?alt=media",
      "name": "launch.mp4",
      "type": "video",
      "size": 18342011,
      "durationSec": 42.5,
      "uploadedAt": "2026-10-01T09:00:00.000Z"
    }
  ],
  "nextCursor": null
}