Partner API
Create governed cases from your systems.
This reference is generated from Clarivy’s live partner contract. Credentials are scoped by tenant and use case; secrets are never embedded in this page.
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
Authority boundary
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.
case.createClient 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.