POST
/
api
/
users
/
{id}
/
documents
Upload a document for user
curl --request POST \
  --url https://app.sandbox.rio.trade/api/users/{id}/documents \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'documentType=<string>' \
  --form document=@example-file
"OK"
Please reach out to our compliance team for more information.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<mongoId>
required

ID of the user.

Example:

"66562bc04fe8bf83c577c178"

Body

multipart/form-data
document
file
required

Document file (PDF, JPG, PNG, max 10 MB)

documentType
string
required

Type of document being uploaded

Response

Document uploaded successfully

The response is of type string.

Example:

"OK"