curl -X POST https://app.sphinxhq.com/api/cases/ \
-H "Authorization: Bearer <YOUR_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"customer": {
"external_id": "cust-james-torres-1997",
"full_name": "James Torres",
"customer_type": "INDIVIDUAL",
"input_details": {
"dob": "1997-03-26",
"nationality": "US"
}
},
"notes": "Initial screening for a high-risk customer. See adverse media check for details.",
"checks": [
{
"check_type": "ADVERSE_MEDIA",
"input_details": {
"media_hits": [
{
"url": "http://interactives.wivb.com/photomojo/gallery/13470/1/",
"source": "interactives.wivb.com",
"details": "Source relates to ''Operation Horseback'' and James Torres'' drug trafficking involvement.",
"snippet": "The U.S. New York State Attorney General announced on July 30, 2014..."
}
]
}
},
{ "check_type": "SANCTION" },
{ "check_type": "PEP" }
],
"documents": [123],
"webhook_url": "https://example.com/webhook/case-complete"
}'