WAOtomatis icon

WAOtomatis

Send WhatsApp messages and manage chats, contacts, media, storage, webhooks and tickets via WAOtomatis

Storage → List Objects

AI-generated

Summary

Lists media objects stored in the WAOtomatis organization's storage (uploaded library files and/or received inbound media), optionally filtered by kind, returning one item per object.

Inputs

  • Session (required) — Session (connected WhatsApp number) picker, shown for this operation and validated as non-empty. The storage request itself (GET /v1/storage/objects) does not use the session id.
  • Kind — Filter: All (default, no filter sent), Library (uploaded to send), or Received (inbound). Sent as the kind query parameter when not All.
  • Return All — If true, pages through every cursor (100 per request) until exhausted. Default false.
  • Limit — Max objects to return when Return All is off. Default 50, minimum 1.

Output shape

A list of n8n items, one per stored object, each item's JSON being the object record returned by the API.

Object fields are whatever the API returns and are not defined in the node. Each output item is paired to its input item. With Continue On Fail, an error yields an item with an error message. API errors include the error code from the API's response.

Examples

Example 1: Fetch the 50 most recent received media files for review

Kind = Received, Return All off, Limit = 50

Example 2: Audit all uploaded library media for cleanup

Kind = Library, Return All on; pass IDs to Delete Object

Links

Discussion