Inbox

List messages in a conversation

Returns the messages PostZen holds for one thread, oldest first by default, refreshing them from the platform when the stored copy is stale. Strictly read-only: it never marks the thread read — use POST /v1/inbox/conversations/{conversationId}/read for that. Meta returns full content only for roughly the twenty newest Instagram messages, so older ones may carry an id and timestamp without text or attachments. Read-only and read-write API keys are accepted.

get/v1/inbox/conversations/{conversationId}/messages

Request

  • Base URL: https://api.postzen.dev
  • URL: https://api.postzen.dev/v1/inbox/conversations/{conversationId}/messages
  • Auth: HTTP bearer

Query parameters

accountIdstring required

PostZen account id that owns the conversation.

limitinteger

Page size.

cursorstring

Opaque pagination cursor from pagination.nextCursor. A malformed cursor is a 400.

sortOrder'asc' | 'desc'

Order by send time.

Response

Messages returned.

status'ok' required
sortOrderApplied'asc' | 'desc' required
lastUpdatedstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.