Skip to main content
POST
List stored media

Authorizations

apikey
string
header
required

Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.

Path Parameters

instance
string
required

The number's display name in the Pilot Status dashboard.

Body

application/json
id
string

Media record identifier to filter by.

Example:

"5f3e1d2c-8b7a-4c6d-9e0f-1a2b3c4d5e6f"

type
string

Media type to filter by (e.g. image, video, audio, document).

Example:

"image"

messageId
integer

Message identifier the media belongs to.

Example:

12345

Response

Success — provider-native response body.

id
string

Media record id (cuid).

fileName
string

Object key / path of the file stored in the S3/MinIO bucket.

type
string

Media category (e.g. image, video, audio, document, sticker).

mimetype
string

MIME type of the stored file.

createdAt
string<date-time>

Date the media record was created.

Message
object

The Message this media belongs to.