Get an upload URL for a supporting document
Registers a supporting document against the application and returns a short-lived presigned S3 URL to upload the file bytes to directly. PUT the file to uploadUrl, sending every header in requiredHeaders unchanged (notably Content-Type). The bytes go straight to S3, never through this API. The document appears in GET …/documents once the upload completes. 404 if the application is unknown.
Authentication
AuthorizationBearer
Paste a Keycloak access token (no "Bearer " prefix)
Path parameters
id
Request
This endpoint expects an object.
filename
The file's name, e.g. "transcript.pdf".
contentType
MIME type, e.g. "application/pdf"; sent as-is when uploading to uploadUrl.
Response
OK
id
The document id, used to download the file later.
uploadUrl
PUT the file bytes here. Short-lived; expires within minutes.
requiredHeaders
Headers that must be sent unchanged on the upload PUT (e.g. Content-Type).
Errors
400
Bad Request Error
