Skip to main content
flag
Mon - Fri   10:00 – 18:00

List Media

API Documentation / WhatsApp / List Media

Base URL for your account: https://cpaas.studio

GET /api/whatsapp/v1/media

Your library, with usage against your quota.

Parameters

Param Type Required Notes
type string no

Request example

curl -X GET "https://cpaas.studio/api/whatsapp/v1/media" \
  -H "X-API-KEY: cpk_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Success response (data)

{
    "media": [
        {
            "uid": "WMD7Q2M4X8A1B",
            "type": "document",
            "mime": "application/pdf",
            "name": "invoice.pdf",
            "size": 48211,
            "source": "api",
            "created_at": "2026-10-10T09:00:00+00:00"
        }
    ],
    "usage": {
        "used": 48211,
        "quota": 1073741824
    }
}

Need more context? See Getting started for authentication, the response envelope, and the full error-code reference.