Skip to main content
POST
Upload Private File

Path Parameters

workspaceId
string
required

The ID of the Workspace. Deprecated alias environmentId.

Body

application/json
surveyId
string
required

The ID of the survey associated with the file.

fileName
string
required

The name of the file to be uploaded.

fileType
string
required

The MIME type of the file.

elementId
string
required

The ID of the File upload or Signature element the file is for. The request is refused when the survey has no such upload element. A Signature element accepts only a PNG named signature.png, up to 1 MB.

Response

OK - Returns the signed URL, presigned fields, updated file name, and file URL.

data
object