Langsung ke isi
GrowSocmedDokumentasiSocial media command center

List media

List the workspace's media library, newest first

GET
/media

List the workspace's media library, newest first

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Query Parameters

type?string
Value in"image""video""document"
before?string

Cursor: created_at of the last file of the previous page

Formatdate-time
limit?integer
Range1 <= value <= 100
Default100

Response Body

OK

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/media'
Example Response200
{  "data": [    {      "id": "string",      "type": "image",      "page_count": 0,      "status": "pending",      "original_name": "string",      "mime_type": "string",      "size_bytes": 0,      "width": 0,      "height": 0,      "duration_ms": 0,      "frame_rate": 0,      "fail_reason": "string",      "alt_text": "string",      "keep": true,      "used_in_posts": 0,      "expires_at": "string",      "url": "string",      "created_at": "string"    }  ],  "next_cursor": "string"}