Get all messages
Headers
-
Content-Type string
-
Accept string
GET
/api/v1/conversation/{conversation_uuid}/messages
curl \
-X GET https://api.plannrcrm.com/api/v1/conversation/conversation_uuid/messages \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"data": [
{
"user": {
"name": "Gareth Thompson",
"type": "standard",
"uuid": "1816cb6d-ad02-4723-be59-3e9a3bcf7495",
"email": "gareth@codepotato.co.uk",
"last_name": "Thompson",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"created_at": "2025-01-17T11:18:29+00:00",
"first_name": "Gareth",
"updated_at": "2025-01-17T11:18:29+00:00",
"otp_pending": false,
"current_login": "App\\Http\\Resources\\LoginResource",
"current_account": "App\\Http\\Resources\\AccountResource",
"two_factor_type": "sms",
"otp_confirmed_at": "2025-01-17T11:18:29+00:00",
"two_factor_mobile": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"session_expires_at": "2025-01-17T11:18:29+00: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": "931bb06f-5c81-4d99-9b2c-474c8849d18d",
"files": [
{
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Welcome to Plannr",
"size": "21691783",
"tags": "App\\Http\\Resources\\TagResource",
"type": "type",
"uuid": "5af26226-ef68-4570-93e3-ca834c7f7a76",
"parent": "Object",
"status": "uploaded",
"account": "App\\Http\\Resources\\AccountResource",
"filename": "Welcome to Plannr.pdf",
"progress": "100",
"extension": "pdf",
"created_at": "2025-01-17T11:18:29+00:00",
"updated_at": "2025-01-17T11:18:29+00:00",
"folder_name": "folder 2",
"uploaded_at": "2025-01-17T11:18:29+00:00",
"download_url": "https://plannr.valet/file/6375bf42-62d0-4577-b869-155c312c158b/download",
"last_modified": "2025-01-17T11:18:29+00:00",
"original_created_at": "2025-01-17T11:18:29+00:00"
}
],
"author": {
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "bf22ef10-7623-49a0-acbc-de652f9d7462",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2025-01-17T11:18:29+00:00",
"first_name": "Gareth",
"updated_at": "2025-01-17T11:18:29+00:00",
"with_login": true,
"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-01-17T11:18:29+00:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2025-01-17T11:18:29+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"previous_review_date": "2025-01-17T11:18:29+00:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2025-01-17T11:18:29+00:00"
},
"edited": true,
"contents": "Welcome to Plannr!",
"reactions": [
{
"uuid": "0797233c-401c-41be-83b5-e43269d39157",
"reaction": "like",
"reactions": "App\\Http\\Resources\\ReactionResource",
"created_at": "2025-01-17T11:18:29+00:00",
"updated_at": "2025-01-17T11:18:29+00:00",
"account_name": "Gareth Thompson",
"account_uuid": "5c81206b-4ddb-4a6e-a015-db3c96df9357"
}
],
"created_at": "2025-01-17T11:18:29+00:00",
"deleted_at": "2025-01-17T11:18:29+00:00",
"updated_at": "2025-01-17T11:18:29+00:00"
}
]
}