Quick start
One credential. One stable request. One case.
- 1
Create a service credential
Use one key per source system and environment. Grant only the case, evidence, request, or bundle scopes that integration needs.
- 2
Store the secret once
Move the one-time secret directly into the calling system’s managed secret store.
- 3
Run the approved workflow
Create or read the case, attach findings or documents, request missing records, and retrieve lineage using the least-privilege scope.
Minimum request
curl --request POST \
'https://app.clarivy.pro/api/integrations/v1/cases' \
--header 'Authorization: Bearer <service-key>' \
--header 'Idempotency-Key: <stable-unique-request-id>' \
--header 'Content-Type: application/json' \
--data '{
"reference": "LOS-2026-000184",
"title": "Merchant eligibility review",
"purpose": "Assess approved SME lending controls.",
"use_case": "merchant_eligibility",
"subject_name": "Example Merchant LLC",
"subject_type": "legal_entity",
"legal_basis": "contract_performance",
"jurisdiction": "AE",
"retention_days": 180
}'Base URL
https://app.clarivy.pro/apiIdempotent replay
The same key and payload return the original result. The same key with a changed payload returns a conflict.
Authority boundary
Do not send tenant, policy version, owner or audit actor fields. Clarivy derives them from the service credential and published workflow.
Error handling
Retry temporary failures with the same idempotency key. Correct permanent authorization or validation failures before sending another request.
| Status | Meaning | Caller action |
|---|---|---|
| 400 | Missing idempotency key. | Add one stable key for the logical operation. |
| 401 | Invalid, expired or revoked credential. | Stop retries and restore authorization. |
| 403 | Credential lacks the workflow scope. | Request an administrator scope review. |
| 409 | Duplicate reference or idempotency mismatch. | Reconcile using the original request identifier. |
| 422 | Payload does not satisfy the schema. | Correct the request; do not retry unchanged. |
| 5xx | Temporary service or dependency failure. | Retry with the same key and bounded backoff. |
Code workbench
Choose a workflow. Copy a runnable example.
Examples use the same live Partner API contract shown below. Values stay in this browser and are never saved by Clarivy.
Required scope:
case.createWorkflow
POST · Create a governed case
GET · List governed cases
GET · Get the controlled case record
POST · Add a source-cited finding
POST · Upload and extract a document
POST · Request missing documents
GET · List policy-bound document options
GET · List secure document requests
GET · Get source and decision lineage
GET · Export a signed verification bundle
Use case
Merchant eligibility
Corporate due diligence
AML/CFT review
Recovery review
Payment fraud
Base URL
Service key
Client libraries
curl --request POST \
'https://app.clarivy.pro/api/integrations/v1/cases' \
--header 'Authorization: Bearer <service-key>' \
--header 'Idempotency-Key: <stable-request-id>' \
--header 'Content-Type: application/json' \
--data '{
"reference": "LOS-2026-000184",
"title": "Merchant eligibility review",
"purpose": "Assess the merchant against approved SME lending controls.",
"use_case": "merchant_eligibility",
"subject_name": "Example Merchant LLC",
"subject_type": "legal_entity",
"legal_basis": "contract_performance",
"jurisdiction": "AE",
"retention_days": 180
}'Live contract
Interactive API reference
Generated from the deployed public OpenAPI schema. Administrative and internal review routes are deliberately excluded.
Paths, field names, enum values and code examples remain in their canonical API form so integrations behave consistently in every language.