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": "e238a1ee-74fb-4068-a5db-abc6188a7fdd",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-06-26T11:37:05+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-06-26T11:37:05+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-06-26T11:37:05+01:00",
        "two_factor_mobile": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "session_expires_at": "2025-06-26T11:37:05+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": "7357451b-bebd-4775-879b-1328d41e75d9",
      "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": "530e60e2-11c3-49d4-aee0-24507dbfea95",
          "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": "3b3d875e-b15e-474e-b3cf-985e12063919"
          },
          "created_at": "2025-06-26T11:37:05+01:00",
          "updated_at": "2025-06-26T11:37:05+01:00",
          "folder_name": "folder 2",
          "uploaded_at": "2025-06-26T11:37:05+01:00",
          "documentable": "Object",
          "download_url": "https://api.plannrcrm.com/file/8a20e0e7-e1af-4e7f-9937-6d20a974b8e8/download",
          "last_modified": "2025-06-26T11:37:05+01:00",
          "documentable_type": "account",
          "original_created_at": "2025-06-26T11:37:05+01:00"
        }
      ],
      "author": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "bb675f10-adb7-4b64-89df-c1929e1302b3",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-06-26T11:37:05+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-06-26T11:37:05+01:00",
        "with_login": true,
        "inactive_at": "2025-06-26",
        "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-06-26T11:37:05+01:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-06-26T11:37:05+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-06-26T11:37:05+01:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-06-26T11:37:05+01:00"
      },
      "edited": true,
      "contents": "Welcome to Plannr!",
      "reactions": [
        {
          "uuid": "fb57ed7e-c70e-4575-885b-0df702b24a12",
          "reaction": "like",
          "reactions": "App\\Http\\Resources\\ReactionResource",
          "created_at": "2025-06-26T11:37:05+01:00",
          "updated_at": "2025-06-26T11:37:05+01:00",
          "account_name": "Gareth Thompson",
          "account_uuid": "d5bef0b6-06cb-4dbc-a692-33655eb98c1a"
        }
      ],
      "created_at": "2025-06-26T11:37:05+01:00",
      "deleted_at": "2025-06-26T11:37:05+01:00",
      "updated_at": "2025-06-26T11:37:05+01:00"
    }
  ]
}