Clipform

Get a signed upload URL for respondent file uploads

Returns a path-locked signed upload URL for the file-uploads bucket. The viewer calls this before uploading a file so the anon key never needs direct storage write access. Validates that the form exists and is published, and that the session exists.

POST
/uploads/signed-url

Request Body

application/jsonRequired
form_id
Required
string
Format: "uuid"
session_id
Required
string
Format: "uuid"
file_name
Required
string
content_type
Required
string
curl -X POST "https://api.clipform.io/v1/uploads/signed-url" \
  -H "Content-Type: application/json" \
  -d '{
    "form_id": "46af4ef5-2c18-4098-9bc5-c048fb90b843",
    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
    "file_name": "string",
    "content_type": "string"
  }'

Signed upload URL

{
  "signed_url": "string",
  "token": "string",
  "path": "string",
  "file_id": "string"
}