curl --request POST \
--url https://spark.test.woodcore.co/api/v2/clients/document/{clientId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'description=National Identity Card' \
--form file='@example-file' \
--form 'name=National ID'{}curl --request POST \
--url https://spark.test.woodcore.co/api/v2/clients/document/{clientId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'description=National Identity Card' \
--form file='@example-file' \
--form 'name=National ID'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"1"
{}
The response is of type object.