Update Session Status
Sessions
Update Session Status
Manually update a session’s status to VERIFIED or REJECTED
PATCH
Update Session Status
Documentation Index
Fetch the complete documentation index at: https://sc-docs.deepidv.com/llms.txt
Use this file to discover all available pages before exploring further.
VERIFIED or REJECTED.
Request
Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The session ID (returned as id when the session was created) |
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
new_status | string | Yes | The new status to set. Must be VERIFIED or REJECTED |
Example request
Response
200 — Success
Response fields
| Field | Type | Description |
|---|---|---|
session_record | object | The updated session object (same shape as the session_record in the Retrieve Session response). Does not include resource_links, user, or sender_user |
Error responses
| Status | Description |
|---|---|
400 Bad Request | Invalid session ID or new_status value. Must be VERIFIED or REJECTED |
401 Unauthorized | Missing or invalid API key |
403 Forbidden | Session belongs to a different organization |
404 Not Found | Session ID does not exist |
429 Too Many Requests | Rate limit exceeded |
