Get all messages

GET /api/v1/conversation/{conversation_uuid}/messages

Path parameters

  • conversation_uuid string Required

Query parameters

  • sort string

    Field to sort by. Valid fields are [created_at]. Negative sign to denote DESC. Defaults to '-created_at'.

  • per_page integer

    Number of results to return with pagination (Default 30. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string
      • created_at string
      • updated_at string
      • deleted_at string
      • contents string
      • edited boolean
      • files array[object]
        Hide files attributes Show files attributes object
        • uuid string
        • created_at string
        • original_created_at string
        • updated_at string
        • uploaded_at string
        • status string
        • filename string
        • name string
        • extension string
        • type string
        • size string
        • path string
        • last_modified string
        • progress string
        • download_url string
        • folder_name string
        • folder string
        • documentable_type string
        • documentable string
        • navigator object
          Hide navigator attributes Show navigator attributes object
          • model_type string
          • model_uuid string
        • firm string
        • account string
        • tags string
      • author object
        Hide author attributes Show author attributes object
        • uuid string
        • created_at string
        • updated_at string
        • type string
        • role string
        • first_name string
        • last_name string
        • name string
        • email string
        • firm string
        • primary_phone_number string
        • primary_email string
        • current_time_entry string
        • assigned_adviser string
        • assigned_administrator string
        • assigned_paraplanner string
        • introduced_by string
        • groups string
        • tags string
        • owners string
        • first_contact_date string
        • next_review_date string
        • previous_review_date string
        • anniversary_review_date string
        • with_login boolean
        • has_joint_account boolean
        • can_be_deleted string
        • joint_account_circle string
        • ownership_percentage integer
        • inactive_at string
        • custom_fields string
        • external_references string
      • user object
        Hide user attributes Show user attributes object
        • uuid string
        • created_at string
        • updated_at string
        • type string
        • first_name string
        • last_name string
        • name string
        • email string
        • photo_url string
        • current_account string
        • current_login string
        • two_factor_enabled boolean
        • two_factor_type string
        • otp_confirmed_at string
        • otp_pending boolean
        • sms_two_factor_enabled boolean
        • two_factor_mobile boolean
        • two_factor_mobile_meta object
          Hide two_factor_mobile_meta attributes Show two_factor_mobile_meta attributes object
          • country string
          • formatted string
        • current_time_entry string
        • session_expires_at string
        • should_auto_save_notes boolean
      • reactions array[object]
        Hide reactions attributes Show reactions attributes object
        • uuid string
        • account_uuid string
        • account_name string
        • reaction string
        • reactions string
        • created_at string
        • updated_at string
GET /api/v1/conversation/{conversation_uuid}/messages
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/conversation/6ff8f7f6-1eb3-3525-be4a-3932c805afed/messages' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "user": {
        "name": "Gareth Thompson",
        "type": "standard",
        "uuid": "d392c41a-a4bf-4016-ba71-fea6e6aec983",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-07-17T16:23:21+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-07-17T16:23:21+01:00",
        "otp_pending": false,
        "current_login": "App\\Http\\Resources\\LoginResource",
        "current_account": "App\\Http\\Resources\\AccountResource",
        "two_factor_type": "sms",
        "otp_confirmed_at": "2025-07-17T16:23:21+01:00",
        "two_factor_mobile": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "session_expires_at": "2025-07-17T16:23:21+01:00",
        "two_factor_enabled": true,
        "should_auto_save_notes": true,
        "sms_two_factor_enabled": true,
        "two_factor_mobile_meta": {
          "country": "GB",
          "formatted": "0333 090 3630"
        }
      },
      "uuid": "bbe3760e-895d-4076-83ad-94241fa107c5",
      "files": [
        {
          "firm": "App\\Http\\Resources\\FirmResource",
          "name": "Welcome to Plannr",
          "path": "Gareth Thompson/Subfolder/Welcome to Plannr.pdf",
          "size": "21691783",
          "tags": "App\\Http\\Resources\\TagResource",
          "type": "type",
          "uuid": "adbc058f-15a1-4de4-90f7-d32f9e78484f",
          "folder": "App\\Http\\Resources\\FolderResource",
          "status": "uploaded",
          "account": "App\\Http\\Resources\\MinimalAccountResource",
          "filename": "Welcome to Plannr.pdf",
          "progress": "100",
          "extension": "pdf",
          "navigator": {
            "model_type": "account",
            "model_uuid": "0740fdbe-8775-4a55-a5bc-ef5f4cb2bc16"
          },
          "created_at": "2025-07-17T16:23:21+01:00",
          "updated_at": "2025-07-17T16:23:21+01:00",
          "folder_name": "folder 2",
          "uploaded_at": "2025-07-17T16:23:21+01:00",
          "documentable": "Object",
          "download_url": "https://api.plannrcrm.com/file/a2783adf-2323-4cca-8521-ee8648680b2a/download",
          "last_modified": "2025-07-17T16:23:21+01:00",
          "documentable_type": "account",
          "original_created_at": "2025-07-17T16:23:21+01:00"
        }
      ],
      "author": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "603d2e12-48a3-4a88-86c1-cf1db190fd78",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-07-17T16:23:21+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-07-17T16:23:21+01:00",
        "with_login": true,
        "inactive_at": "2025-07-17",
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2025-07-17T16:23:21+01:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-07-17T16:23:21+01:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "joint_account_circle": "App\\Http\\Resources\\CircleResource",
        "ownership_percentage": 100,
        "previous_review_date": "2025-07-17T16:23:21+01:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-07-17T16:23:21+01:00"
      },
      "edited": true,
      "contents": "Welcome to Plannr!",
      "reactions": [
        {
          "uuid": "075b715c-59fb-4cf7-95b6-28e836120533",
          "reaction": "like",
          "reactions": "App\\Http\\Resources\\ReactionResource",
          "created_at": "2025-07-17T16:23:21+01:00",
          "updated_at": "2025-07-17T16:23:21+01:00",
          "account_name": "Gareth Thompson",
          "account_uuid": "c91cc4ff-90a0-48a8-bef9-06676288c11a"
        }
      ],
      "created_at": "2025-07-17T16:23:21+01:00",
      "deleted_at": "2025-07-17T16:23:21+01:00",
      "updated_at": "2025-07-17T16:23:21+01:00"
    }
  ]
}