Can I create a case without it starting to process immediately?
Yes. By default, creating a case will automatically start processing all its associated checks. You can override this behavior by settingstart: false in your POST /api/cases/ request. This creates the case and checks in a pending state. You can then trigger processing later by making a POST request to the /api/cases/{id}/start/ endpoint. This is useful for workflows where you need to add more checks or data before processing begins.
How do I use documents with cases and checks?
You can create checks and cases with pre-uploaded documents. The workflow is:- Upload documents first using
POST /api/documents/. You can link it to acustomer_idfor reusable documents. - Create your case or check and reference the document IDs by including a
document_idsarray in your request. - The documents will be automatically linked.
checks array.
Should I link a document to a Case, a Check, or a Customer?
Documents can be associated with a Case, Check, or Customer, but only one at a time. Here’s a guide:- Link to a Case: For general documents related to the entire workflow. This is the recommended starting point.
- Link to a Check: For documents specific to one check, like a proof of address. This can lead to faster, more focused processing.
- Link to a Customer: For documents you want to reuse across multiple cases for the same customer.
case_id, check_id, or customer_id.
How long does processing take?
Sphinx is fast, but not instant. Here are some typical processing times:- AML Checks: A set of watchlist checks (Sanctions, PEPs, Adverse Media) on an individual usually takes about 90 seconds.
- Full KYB: A full Know Your Business (KYB) investigation can take around 4 minutes.
How does the API interaction model work?
Cases act as containers, but most API interactions happen at the Check level. You create a Case, then add Checks to it. The processing and results are primarily managed throughCheck objects.
How granular should my checks be?
ACheck represents a single verification, alert, or hit. For complex investigations like KYB, each distinct part of the process (e.g., verifying a UBO, checking web presence) should be a separate Check within the Case. Never combine multiple hits into a single check.
Are documents always required for a check?
No. For example, a sanctions screening can be performed using only the name and date of birth from theCustomer object, without any supporting documents. The alert details (for example, for a sanctions hit it would be the personal details and potentially a link to the source) are required though.
How does data deletion work?
Sphinx supports the right to be forgotten via thedelete_after field on Customer, Case, Check, and Document objects.
Set delete_after to an integer representing the number of days until deletion (max 365). For immediate deletion after processing, use delete_after: 0. Once scheduled, deletion cannot be cancelled.
