Media
1 tools

Media tools

Files already in your media library, ready to attach to broadcasts and templates.

Badges:Read onlyWrites dataSends to WhatsAppDestructive
list_media#

List media library files

Read only

Files in the workspace's WhatsApp media library: images, videos, documents, audio. Pass a media_asset_id to save_template_draft as a header or to create_broadcast as the file. Uploading is done in the dashboard.

Parameters (5)›
  • media_type

    "image" | "video" | "document" | "audio"

    No extra notes.
  • query

    string

    Start of the file name.
  • cursor

    string

    next_cursor from the previous page; omit for the first page. Keep the other filters the same; the page size stays as on the first page.
  • page_size

    integer

    Rows per page, 1-100. Default 20.Default 20
  • response_format

    "concise" | "detailed"

    concise returns the fields a person reads; detailed adds ids and raw fields for follow-up calls.Default "concise"