chatformdocs
API referenceV1

A respondent's uploaded file, with a short-lived download link

File-upload answers carry a `fileId`. This resolves one to its metadata and a signed URL that needs no API key, so it is safe to hand to a browser and it expires within minutes.

GET
/v1/files/{id}

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/files/string"
{  "id": "string",  "object": "file",  "form_id": "string",  "response_id": "string",  "filename": "string",  "mime": "string",  "size_bytes": 0,  "created_at": 0,  "download_url": "string",  "download_expires_at": 0}