public
Create a case
Creates a new case and returns a case ID along with pre-signed URLs for document uploads.
post/v1/cases
Request
- Base URL: https://api.withentropy.ai
- URL: https://api.withentropy.ai/v1/cases
- Auth: API key in header x-api-key
Request body
Example request
{
"businessName": "Acme Corporation",
"businessAddress": "123 Business Ave, Dubai, UAE",
"businessDescription": "Technology solutions provider specializing in e-commerce platforms",
"websiteURL": "https://www.acmecorp.com",
"socials": {
"instagram": "businessname"
},
"mapsQuery": "Acme Corporation Dubai",
"externalId": "CASE-12345",
"documents": [
{
"type": "INCORPORATION_UAE",
"mimeType": "application/pdf"
},
{
"type": "TRADE_LICENSE",
"mimeType": "application/pdf"
}
],
"people": [
{
"documents": [
{
"type": "EMIRATES_ID_FRONT",
"mimeType": "application/pdf"
},
{
"type": "EMIRATES_ID_BACK",
"mimeType": "application/pdf"
}
]
}
]
}Response
The case ID and pre-signed URLs for document uploads.
Example response
{
"preSignedUrls": [
{
"type": "INCORPORATION_UAE",
"url": "https://presigned-url-example.com/incorporation-uae",
"postUrl": "https://bucket-name.s3.region.amazonaws.com",
"postFields": {
"key": "uploads/document-key.pdf",
"Content-Type": "application/pdf",
"policy": "base64-encoded-policy",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "access-key/date/region/s3/aws4_request",
"x-amz-date": "20230101T000000Z",
"x-amz-signature": "signature"
}
}
],
"people": [
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"preSignedUrls": [
{
"type": "EMIRATES_ID_FRONT",
"url": "https://presigned-url-example.com/front",
"postUrl": "https://bucket-name.s3.region.amazonaws.com",
"postFields": {
"key": "uploads/person-document-key.pdf",
"Content-Type": "application/pdf",
"policy": "base64-encoded-policy",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "access-key/date/region/s3/aws4_request",
"x-amz-date": "20230101T000000Z",
"x-amz-signature": "signature"
}
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.