cURL
curl --request POST \ --url https://api.godiligent.ai/cdds/{id}/documents \ --header 'Content-Type: multipart/form-data' \ --header 'X-API-KEY: <api-key>' \ --form type=PROOF_OF_ADDRESS \ --form file=@example-file
{ "id": "doc_123", "created_at": "2023-04-30T23:50:51.222Z", "file_name": "proof_of_address.pdf", "file_type": "application/pdf", "type": "INCORPORATION", "url": "https://example-bucket.s3.eu-central-1.amazonaws.com/placeholder-folder/sample-document.pdf" }
Add supporting documents to a CDD case
The id of the cdd request
"d6e3b214-30b1-4401-a1b8-a1bd3c6a84e4"
OK
The response is of type object.
object