APIMedia
List workspace media
List supported active media visible in the API key's workspace library. mediaType defaults to VIDEO for backward compatibility; pass IMAGE for JPEG. Use mediaId in a supported publishing or scheduling request. Unconfirmed uploads are excluded. The account and media must belong to the same workspace.
Authorization
apiKey AuthorizationBearer <token>
In: header
Query Parameters
mediaType?string
Default
"VIDEO"Value in
- "IMAGE"
- "VIDEO"
limit?integer
Range
1 <= value <= 100Default
20offset?integer
Range
0 <= value <= 10000Default
0Response Body
application/json
curl -X GET "https://example.com/api/v1/media"{ "media": [ { "mediaId": "5a8ffac5-2288-485d-b463-90c3cd9941ad", "fileName": "string", "mediaType": "IMAGE", "mimeType": "string", "fileSize": 0, "url": "http://example.com", "duration": 0, "width": 0, "height": 0, "createdAt": "2019-08-24T14:15:22Z" } ], "total": 0, "hasMore": true}