curl --request POST \
--url http://localhost:3333/v1/trust-portal/documents/{documentId}/download \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_6914cd0e16e4c7dccbb54426"
}
'{
"signedUrl": "<string>",
"fileName": "<string>"
}curl --request POST \
--url http://localhost:3333/v1/trust-portal/documents/{documentId}/download \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_6914cd0e16e4c7dccbb54426"
}
'{
"signedUrl": "<string>",
"fileName": "<string>"
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Organization ID that owns the document
"org_6914cd0e16e4c7dccbb54426"
Was this page helpful?