Get an upload URL for a supporting document

View as Markdown
Get a AWS S3 pre-signed URL to upload document/file directly for an application. The response will contain the `id` of the document, presigned `uploadUrl`. To upload the file, send PUT request (with the content of the file) to the `uploadUrl`. Ensure to add the header `Content-Type` with the same value of `contentType` of the body of the original request.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

(Required)

Request

This endpoint expects an object.
filenamestringRequired
contentTypestringRequired

Response

OK
idstringformat: "uuid"
uploadUrlstring
requiredHeadersobject