Peach icon

Peach

Interact with the Peach WhatsApp Platform API

Actions17

Media → List

AI-generated

Summary

Lists uploaded media files from the Peach WhatsApp Platform API, one page at a time.

Inputs

  • page — Page number of results to fetch. Defaults to 1. Sent as the page query parameter.
  • requestOptions — Optional node settings: batching (items per batch and interval in ms), ignore SSL issues, proxy URL, and request timeout in ms (default 10000).

Output shape

The JSON response from the Peach API for GET /api/v1/medias, which is the page of uploaded media records.

The node does no pagination of its own. To get more results, increment the Page parameter. The exact response fields aren't defined in the node source. The request is authenticated with the peachApi credential against https://app.trypeach.ai.

Examples

Example 1: Fetch the first page of uploaded media to find a media ID.

Resource: Media, Operation: List, Page: 1

Example 2: Fetch the next page of media after the first.

Resource: Media, Operation: List, Page: 2

Links

Discussion