List media files
Get a paginated list of all active (confirmed) media files for your organization.
Get a paginated list of all active (confirmed) media files for your organization. Only non-expired files are returned. Use limit and offset query parameters for pagination. Each file includes its public URL, content type, size, and expiration date. Files expire 60 days after upload. Use the returned media IDs when creating posts to attach media content.
Permissions: Requires media:read. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions.
GET
limit?stringNumber of media files per page (1-100)
Default
"50"offset?stringPagination offset
Default
"0"Media files retrieved successfully
application/json- response
Response containing list of media files
success*booleandata*array<>pagination*curl -X GET 'https://api.outstand.so/v1/media'Example Response
{ "success": true, "data": [ { "id": "string", "filename": "string", "url": "http://example.com", "content_type": "string", "size": 0, "status": "pending", "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z" } ], "pagination": { "limit": 0, "offset": 0, "count": 0 }}