Skip to main content
PATCH
/
v1
/
cases
/
{case_token}
Update case
curl --request PATCH \
  --url https://instance.prod.onboardapp.io/v1/cases/{case_token} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "status": "New",
  "assigned_to": "<string>",
  "metadata": {}
}
'
{
  "data": {
    "token": "cas_9k4m2n1p",
    "name": "CAS-000142",
    "type": "Onboarding",
    "status": "New",
    "entity_category": "Company",
    "assigned_to": "<string>",
    "sla_deadline": "2023-11-07T05:31:56Z",
    "sla_status": "On Track",
    "open_alerts_count": 123,
    "total_entities_count": 123,
    "risk_tier": "High",
    "risk_score": 123,
    "decision": "Approve",
    "external_reference": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "closed_at": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "request_id": "req_9k4m2n1p3q",
    "page": {
      "cursor": "<string>",
      "has_more": true
    }
  }
}

Authorizations

X-API-KEY
string
header
required

Project-scoped API key for server-to-server authentication. Obtain keys from the Zenoo dashboard under Project Settings > API Keys. Staging and production environments use separate keys.

Headers

Idempotency-Key
string<uuid>

Unique key for idempotent request handling. If a request with the same key was already processed within the last 24 hours, the original response is returned.

Path Parameters

case_token
string
required

Case token.

Body

application/json

Request body for updating case attributes. Only include fields to change.

status
enum<string>
Available options:
New,
In Progress,
In Review,
Internal Review,
Client Input,
Closed,
Escalated
assigned_to
string
metadata
object

Response

Case updated.

Standard response wrapper for all API endpoints. Contains the resource data and pagination metadata.

data
object

An investigation case that groups entities, alerts, checks, risk assessments, and audit trail entries into a single compliance investigation unit. Cases follow a defined lifecycle from creation through investigation to closure.

meta
object