Direct Messages

List messages

Returns a paginated list of messages in a chat, ordered by external_posted_at descending (pending outbound messages without external_posted_at are ordered by created_at).

Billing: Read request · Rate limit: 120/min

get/v1/social/chats/{chat_id}/messages

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/social/chats/{chat_id}/messages
  • Auth: HTTP bearer

Path parameters

chat_idstring required

Chat ID — accepts the Postproxy hashid or the platform's external_conversation_id

Query parameters

pageinteger

Page number (1-based). Passing 0 returns page 1.

status'pending' | 'published' | 'failed_waiting_for_retry' | 'failed' | 'received'

Filter by message status

per_pageinteger

Number of items per page.

direction'inbound' | 'outbound'

Filter by direction: inbound or outbound

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.