List company media
GET/api/partner-gateway/media
Returns the files of your media library, one page at a time.
- Each entry carries the file ID, name, type, MIME type, size and a URL to preview or download the file.
- Type: detected from the file content at upload, one of
IMAGE,VIDEO,AUDIO,DOCUMENTorFILE. - Using a file: the
idof an entry is what you reference when you attach the file to a message, such as an RCS card or a WhatsApp media message, or to the content of a campaign. - Pagination and sorting:
pageis 0-based,limitgoes from 1 to 1000 (default 10),sortBytakes a field such asidorname, andsortOrderisascordesc.
Request
Responses
- 200
- 401
One page of media items.
The API key is missing, invalid, or lacks the MEDIA operation.