Skip to main content
POST
Create presigned URL for file upload

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fileName
string
required
entityType
enum<string>
required
Available options:
Organization,
User,
FormSubmission,
FormElementSubmission,
ReportTemplate,
ComplianceCheck,
Activity,
FormElement,
FormSite,
ReportSection,
Report,
ReportSectionTemplateExample,
AiConversation
entityId
string
required
fieldName
string
required
fileSize
number

Response

Successful response

url
string
required
fields
object
required
mediaId
string
required
mediaKey
string
required