Update a case
SDK platic.cases.update()
Update an open case’s priority, assignees, data or summary. Send at least one field you want to change; each change is recorded in the log.
Example
curl -X PATCH https://api.platic.ai/v1/cases/$CASE_ID \
-H "Authorization: Bearer $PLATIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "priority": "urgent" }' await platic.cases.update("case_123", { priority: "urgent" }); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
caseId | string | Case id | ✓ |
Request body
Send only what changes, at least one field.
{
"priority": "high",
"assigneeIds": ["billing@acme.com", "Us2qW4eR6tY8uI0o"],
"fields": { "email": "payments@example.com" }
} | Parameter | Type | Required | Description |
|---|---|---|---|
priority | string | - | low, normal, high or urgent |
assigneeIds | array | - | Case assignees, up to 50: user id or email of a member. Replaces the whole list |
fields | object | - | Data that changes, by key. They are merged with the ones it already has: a text value (up to 1,000 characters) sets or changes it, null or "" deletes it |
summary | string | - | The new summary, up to 4,000 characters |
Response
200 OK. result is updated if something changed or unchanged if everything was already that way; in that case nothing is written.
{
"status": "success",
"data": {
"result": "updated",
"case": {
"id": "Es4kP9wLx2QmZ7bN1cVd",
"workspaceId": "Wk5rT8yUi2OpAs4d",
"number": 143,
"folio": "INV-0143",
"escalationId": "Et7hQ2mVx9LpRk3s",
"escalationSnapshot": {
"name": "Invoice error",
"prefix": "INV",
"color": "#2563EB",
"keepReplying": false,
"canClose": false,
"waitMessage": null,
"inactivityCloseHours": null,
"untakenDiscardHours": 72,
"allowManual": true
},
"status": "open",
"priority": "high",
"summary": "Asks to fix the tax ID on the invoice for order 48213.",
"fields": {"order_number": "48213", "tax_id": "ACME010101AB1", "email": "payments@example.com"},
"contactId": "Ct3fG5hJ7kL9mN1p",
"conversationId": "Cv8hN2lP4qR6sT0u",
"channelId": "Ch2wE4rT6yU8iO0p",
"platform": "whatsapp",
"relatedConversationIds": [],
"postId": null,
"threadId": null,
"agentId": "Ag6bV8nM1qW3eR5t",
"openedBy": {"kind": "agent", "id": "Ag6bV8nM1qW3eR5t"},
"assigneeIds": ["Us9fG3hJ6kL2mN8b", "Us2qW4eR6tY8uI0o"],
"acceptedBy": null,
"acceptedAt": null,
"lastActivityAt": "2026-11-12T15:30:00.000Z",
"maxOpenAt": "2026-11-26T15:04:00.000Z",
"autoCloseAt": null,
"discardAt": "2026-11-15T15:04:00.000Z",
"discardWarnAt": "2026-11-14T03:04:00.000Z",
"discardWarnedAt": null,
"closedAt": null,
"closedBy": null,
"closeReason": null,
"closeNote": null,
"createdAt": "2026-11-12T15:04:00.000Z",
"updatedAt": "2026-11-12T15:30:00.000Z",
"assigneeEmails": ["billing@acme.com", "support@acme.com"],
"acceptedByEmail": null
}
}
} | Field | Type | Description |
|---|---|---|
result | string | updated or unchanged |
case | object | The case as it ended up, with the fields in get a case |
Errors
| Status | details.code | When |
|---|---|---|
400 | INVALID_REQUEST | The body is empty (Nothing to change), a field is not valid, an unknown one is sent or a person in assigneeIds is not a member of the workspace |
404 | CASE_NOT_FOUND | The case does not exist in this workspace |
409 | CASE_CLOSED | The case is already closed. A closed one is not changed |
The errors that come up on any operation are in the introduction.
Notes
- New case assignees are added to the conversation’s owners so they can see it. Removing someone from
assigneeIdsdoes not remove them from the owners. - When editing,
fieldsaccepts anykey, even if the escalation no longer has it, and does not recheck required fields. - To put a person in charge, use take a case: that does change
acceptedBy. - The
case.updated(priority, data or summary) andcase.assigned(owners) webhooks arrive. IfassigneeIdsadded owners to the case's conversation or to its related ones,conversation.owners.updatedalso arrives for each one, withsourceapi.case.assigned, as when assigning from the inbox. - From an AI agent, the tool is
update_case.