Skip to main content
GET
List messages

Request contract

  • Method and path: GET /apis/v1/social/inbox/conversations/{conversationId}/messages
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/inbox/conversations/{conversationId}/messages
  • conversationId: path; required
  • accountId: query; required
  • limit: query; optional
  • cursor: query; optional
  • sortOrder: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversationId
string
required

Opaque conversation identifier, accepted verbatim from the list endpoint or from the conversationId on inbox webhooks. Format not to be assumed.

Query Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
limit
integer
default:100

Number of messages to return per page. Default 100, max 100.

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor. Pass pagination.nextCursor from a prior response verbatim: a cursor we cannot parse returns 400 rather than silently restarting from the first page.

sortOrder
enum<string>
default:asc

Order of returned messages. Default asc (oldest first, chat style). X, Instagram, Telegram, WhatsApp and Reddit honor this order across cursor pages. For Facebook and Bluesky, only intra-page ordering is affected. Pages always walk newest→oldest. See sortOrderApplied in the response.

Available options:
asc,
desc

Response

Messages in conversation

lastUpdated
string<date-time>
messages
object[]
pagination
object
sortOrderApplied
enum<string>

Sort order actually applied to the returned page. May differ from the requested sortOrder for Facebook and Bluesky (always desc regardless of request).

Available options:
asc,
desc
status
string