curl --request POST \
--url https://api-next.ofauth.com/v2/access/uploads/init \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"filename": "<string>",
"size": 1,
"contentType": "<string>",
"vaultUpload": {
"mode": "message",
"userId": "<string>"
}
}
'