Update a conversation.
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
PUT /api/v1/conversation/{uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/conversation/uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"name":"Annual Review"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Annual Review"
}
Response examples (200)
{
"case": {
"name": "finance",
"slug": "finance",
"type": "App\\Http\\Resources\\CasesTypeResource",
"uuid": "8efc5349-d917-4db2-a2d0-ce5c8ac476ca",
"plans": "App\\Http\\Resources\\Plans\\PlanResource",
"value": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"status": "App\\Http\\Resources\\CasesStatusResource",
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00",
"completed_at": "2024-11-20T13:24:01+00:00",
"participants": "App\\Http\\Resources\\AccountResource",
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"status_position": 4,
"task_board_uuid": "7adc2f78-613a-4ade-9a15-bbcc8f87561e",
"participants_count": 4
},
"name": "Welcome to Plannr",
"slug": "welcome-to-plannr",
"tags": [
{
"name": "Mortgage",
"slug": "mortgage",
"uuid": "613fe50c-8c83-4b0c-a8b6-95070e1e145c",
"colour": "#ef4582",
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00"
}
],
"uuid": "2f5e2ba0-26b6-403b-8411-b3c01ae2114d",
"pinned": true,
"is_admin": false,
"created_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00",
"files_count": 2,
"participants": [
{
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "beb29563-618f-4f7a-b685-431e9f64da30",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2024-11-20T13:24:01+00:00",
"first_name": "Gareth",
"updated_at": "2024-11-20T13:24:01+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": "2024-11-20T13:24:01+00:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2024-11-20T13:24:01+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"previous_review_date": "2024-11-20T13:24:01+00:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2024-11-20T13:24:01+00:00"
}
],
"latest_message": {
"user": "App\\Http\\Resources\\UserResource",
"uuid": "1ee273dd-017a-4db6-a183-8ea8908b9601",
"files": "App\\Http\\Resources\\FileResource",
"author": "App\\Http\\Resources\\AccountResource",
"edited": true,
"contents": "Welcome to Plannr!",
"reactions": "App\\Http\\Resources\\ReactionResource",
"created_at": "2024-11-20T13:24:01+00:00",
"deleted_at": "2024-11-20T13:24:01+00:00",
"updated_at": "2024-11-20T13:24:01+00:00"
},
"messages_count": 30,
"belongs_to_case": true,
"participants_count": 3
}