Create a message with inline files Run in API Explorer
Ask AI
Used to create a message and upload files at the same time.
POST
/api/v1/conversation/{conversation_uuid}/messages/inline
curl \
--request POST 'https://api.plannrcrm.com/api/v1/conversation/6ff8f7f6-1eb3-3525-be4a-3932c805afed/messages/inline' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"contents":"Hello, welcome to Plannr.","files":["file-contents"]}'
Request examples
{
"contents": "Hello, welcome to Plannr.",
"files": [
"file-contents"
]
}
Response examples (200)
{
"uuid": "969c2282-829a-4201-b0cb-c0a35b821e59",
"created_at": "2026-07-10T13:50:20+01:00",
"updated_at": "2026-07-10T13:50:20+01:00",
"deleted_at": "2026-07-10T13:50:20+01:00",
"contents": "Welcome to Plannr!",
"edited": true,
"files": [
{
"uuid": "7a55608d-b905-4e0d-b238-53158dd236bb",
"created_at": "2026-07-10T13:50:20+01:00",
"original_created_at": "2026-07-10T13:50:20+01:00",
"updated_at": "2026-07-10T13:50:20+01:00",
"uploaded_at": "2026-07-10T13:50:20+01:00",
"status": "uploaded",
"filename": "Welcome to Plannr.pdf",
"name": "Welcome to Plannr",
"extension": "pdf",
"type": "type",
"size": "21691783",
"path": "Gareth Thompson/Subfolder/Welcome to Plannr.pdf",
"last_modified": "2026-07-10T13:50:20+01:00",
"progress": "100",
"download_url": "https://api.plannrcrm.com/file/35dfcd91-f435-4d5c-8208-f6338b4c20db/download",
"folder_name": "folder 2",
"folder": "App\\Http\\Resources\\FolderResource",
"documentable_type": "account",
"documentable": "Object",
"navigator": {
"model_type": "account",
"model_uuid": "0cf827ca-6839-4a42-8dc4-4563fc864d6f"
},
"firm": "App\\Http\\Resources\\FirmResource",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"tags": "App\\Http\\Resources\\TagResource"
}
],
"author": {
"uuid": "849680e9-5b76-43d0-83cd-16dca156110d",
"created_at": "2026-07-10T13:50:20+01:00",
"updated_at": "2026-07-10T13:50:20+01:00",
"type": "client",
"role": "client",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=gareth+thompson",
"firm": "App\\Http\\Resources\\FirmResource",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"primary_email": "App\\Http\\Resources\\ContactDetailResource",
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"assigned_adviser": "App\\Http\\Resources\\AccountResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"introduced_by": "App\\Http\\Resources\\AccountResource",
"business_unit": "App\\Http\\Resources\\BusinessUnitResource",
"groups": "App\\Http\\Resources\\GroupResource",
"tags": "App\\Http\\Resources\\TagResource",
"owners": "App\\Http\\Resources\\AccountResource",
"first_contact_date": "2026-07-10T13:50:20+01:00",
"next_review_date": "2026-07-10T13:50:20+01:00",
"previous_review_date": "2026-07-10T13:50:20+01:00",
"anniversary_review_date": "2026-07-10T13:50:20+01:00",
"terms_of_business_at": "2026-07-10T13:50:20+01:00",
"client_agreement_at": "2026-07-10T13:50:20+01:00",
"with_login": true,
"has_joint_account": true,
"can_be_deleted": "false",
"joint_account_circle": "App\\Http\\Resources\\CircleResource",
"circles": "App\\Http\\Resources\\CircleResource",
"ownership_percentage": 100,
"inactive_at": "2026-07-10",
"last_interaction_at": "2026-07-10 13:50:20",
"referral_code": "ABC12345",
"permissions": {
"firm:read": [
"firm"
],
"network:read": [
"network:uuid"
]
},
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource"
},
"user": {
"uuid": "860931bb-6312-438c-ba93-90872102c7fc",
"created_at": "2026-07-10T13:50:20+01:00",
"updated_at": "2026-07-10T13:50:20+01:00",
"type": "standard",
"first_name": "Gareth",
"last_name": "Thompson",
"name": "Gareth Thompson",
"email": "gareth@codepotato.co.uk",
"photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
"current_account": "App\\Http\\Resources\\AccountResource",
"current_login": "App\\Http\\Resources\\LoginResource",
"two_factor_enabled": true,
"two_factor_type": "sms",
"otp_confirmed_at": "2026-07-10T13:50:20+01:00",
"otp_pending": false,
"sms_two_factor_enabled": true,
"two_factor_mobile": true,
"two_factor_mobile_meta": {
"country": "GB",
"formatted": "0333 090 3630"
},
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"session_expires_at": "2026-07-10T13:50:20+01:00",
"remember_token_expires_at": true,
"should_auto_save_notes": true
},
"reactions": [
{
"uuid": "c6946d0d-b07d-4148-b05f-ec4adf176509",
"created_at": "2026-07-10T13:50:20+01:00",
"updated_at": "2026-07-10T13:50:20+01:00",
"account_uuid": "a3da522e-66d4-4072-8356-818f99f66222",
"account_name": "Gareth Thompson",
"reaction": "like"
}
]
}