curl --request POST \
--url https://api.example.com/api/v1/credentials/upload-url \
--header 'Content-Type: application/json' \
--data '
{
"file_name": "<string>",
"content_type": "<string>",
"file_size": 123
}
'{
"uploadUrl": "https://s3.amazonaws.com/bucket/credentials/1/...",
"s3Key": "credentials/1/rn-license.pdf"
}
Get a presigned S3 URL for uploading a credential document.
curl --request POST \
--url https://api.example.com/api/v1/credentials/upload-url \
--header 'Content-Type: application/json' \
--data '
{
"file_name": "<string>",
"content_type": "<string>",
"file_size": 123
}
'{
"uploadUrl": "https://s3.amazonaws.com/bucket/credentials/1/...",
"s3Key": "credentials/1/rn-license.pdf"
}
application/pdf, image/jpeg, or image/png.{
"uploadUrl": "https://s3.amazonaws.com/bucket/credentials/1/...",
"s3Key": "credentials/1/rn-license.pdf"
}