Direct Messages

List chats

Returns a paginated list of chats for a profile, ordered by last_message_at descending (most recent first).

get/api/profiles/{profile_id}/chats

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/profiles/{profile_id}/chats
  • Auth
    HTTP bearer

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

pageinteger

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

per_pageinteger

Number of items per page.

beforestring

ISO 8601 timestamp — only chats with last_message_at before this

afterstring

ISO 8601 timestamp — only chats with last_message_at after this

Response

Paginated list of chats.

totalinteger
pageinteger
per_pageinteger

Changes

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