Skip to main content
POST
Listar mídias armazenadas

Autorizações

apikey
string
header
obrigatório

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

Parâmetros de caminho

instance
string
obrigatório

O nome de exibição do número no painel do Pilot Status.

Corpo

application/json
id
string

Identificador do registro de mídia para filtrar.

Exemplo:

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

type
string

Tipo de mídia para filtrar (ex.: image, video, audio, document).

Exemplo:

"image"

messageId
integer

Identificador da mensagem à qual a mídia pertence.

Exemplo:

12345

Resposta

Sucesso — corpo de resposta nativo do provedor.

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.