Skip to main content
GET
/
media
List Media Files
curl --request GET \
  --url https://api.politicalcomms.com/v1/media \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "id": "med_abc123",
      "name": "spring-outreach-hero",
      "org_id": "org_123",
      "brand_id": "brand_abc123",
      "content_type": "image/jpeg",
      "size_bytes": 248320,
      "status": "ready",
      "url": "https://media.politicalcomms.com/med_abc123.jpg",
      "created_at": "2025-03-10T12:00:00Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.politicalcomms.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Authenticate every request by passing your API key in the X-API-Key header. Keys are scoped to your organization hierarchy.

Query Parameters

organization_id
string

Filter to a specific descendant organization

brand_id
string

Filter to a specific brand

Response

Successful response