Skip to main content
POST
/
generate-presigned-url
Generate Presigned URL
curl --request POST \
  --url https://api.artosai.com/generate-presigned-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "org-id/documents/protocol.pdf"
}
'
{
  "url": "https://bucket.s3.amazonaws.com/org-id/documents/protocol.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&..."
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Token provides organization-scoped access.

Body

application/json
key
string
required

S3 object key for the file (e.g., org-id/documents/protocol.pdf)

Response

Presigned URL generated successfully

url
string
required

Presigned HTTPS URL for direct file download. Expires after 1 hour and requires no additional authentication.