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
/v1/media

Query Parameters

limit?string

Number of media files per page (1-100)

Default"50"
offset?string

Pagination offset

Default"0"

Response Body

Media files retrieved successfully

application/json
  1. response

Response containing list of media files

success*boolean
data*array<>
pagination*
Example Request
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  }}