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

await platic.cases.update("case_123", { priority: "urgent" });

Path parameters

ParameterTypeDescriptionRequired
caseIdstringCase id✓

Request body

Send only what changes, at least one field.

{
  "priority": "high",
  "assigneeIds": ["billing@acme.com", "Us2qW4eR6tY8uI0o"],
  "fields": { "email": "payments@example.com" }
}
ParameterTypeRequiredDescription
prioritystring-low, normal, high or urgent
assigneeIdsarray-Case assignees, up to 50: user id or email of a member. Replaces the whole list
fieldsobject-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
summarystring-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
    }
  }
}
FieldTypeDescription
resultstringupdated or unchanged
caseobjectThe case as it ended up, with the fields in get a case

Errors

Statusdetails.codeWhen
400INVALID_REQUESTThe 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
404CASE_NOT_FOUNDThe case does not exist in this workspace
409CASE_CLOSEDThe 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 assigneeIds does not remove them from the owners.
  • When editing, fields accepts any key, 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) and case.assigned (owners) webhooks arrive. If assigneeIds added owners to the case's conversation or to its related ones, conversation.owners.updated also arrives for each one, with source api.case.assigned, as when assigning from the inbox.
  • From an AI agent, the tool is update_case.