Conversations

List messages in a conversation

Returns the messages in a conversation. Page 1 holds the most recent messages, and each page is ordered oldest to newest so it reads like a chat. Use page=2 and up to go further back.

get/conversations/{conversationId}/messages

Request

  • Base URL: https://api.postplanify.com/api/v1
  • URL: https://api.postplanify.com/api/v1/conversations/{conversationId}/messages
  • Auth: HTTP bearer

Path parameters

conversationIdstring uuid required

Conversation ID from GET /conversations.

Query parameters

pageinteger
limitinteger

Response

Paginated list of messages

okboolean

Example response

{
  "ok": true,
  "data": [
    {
      "type": "TEXT",
      "text": "Can I get a replacement? I need it before the weekend.",
      "attachments": [
        {
          "type": "image",
          "mimeType": "image/jpeg"
        }
      ]
    }
  ]
}

Changes

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