POST
/
cdds
/
{id}
/
documents
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
{
  "id": "doc_123",
  "created_at": "2023-04-30T23:50:51.222Z",
  "file_name": "proof_of_address.pdf",
  "file_type": "application/pdf",
  "type": "ARTICLES_OF_INCORPORATION",
  "url": "https://example-bucket.s3.eu-central-1.amazonaws.com/placeholder-folder/sample-document.pdf"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

The id of the cdd request

Example:

"d6e3b214-30b1-4401-a1b8-a1bd3c6a84e4"

Body

multipart/form-data

Response

200
application/json

OK

The response is of type object.