Skip to main content
GET
Get messages for a conversation

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The conversation identifier

Sorgu Parametreleri

per_page
integer | null

The number of items per page.

Gerekli aralık: 1 <= x <= 100
page
integer | null

The page number.

Gerekli aralık: x >= 1
search
string | null

The search query. Matches the message body and, for voice messages, the audio transcript.

Maximum string length: 255
message_type[]
enum<string>[]

A message type to filter by (text, audio, video, document, image, location, system).

Mevcut seçenekler:
text,
audio,
video,
document,
image,
sticker,
location,
contact,
system
all_lines
boolean | null

Include the contact's messages on every WhatsApp line in one timeline; each message carries its channel_id.

Yanıt

Paginated set of ConversationMessageResource

data
ConversationMessageResource · object[]
gerekli
meta
object
gerekli