Skip to main content
POST
Fill a form with sourced answers

Authorizations

Authorization
string
header
required

The org's platform API key.

Body

application/json
answers
object[] | null
required

Every answer, each with its source. A box no answer names stays blank.

app_id
string
required

The app whose Documents hold the form and receive the filled copy.

ref
object
required

The form to fill.

subject
string
required

The Records record reference the filled copy is about, or seat:<your user id> for a copy about no account on file (a prospect): no Records fact is read, and only that seat reads, refills or downloads the copy.

name
string

The filled copy's file name. Default: the form's name with ' - filled.pdf'.

refill
string

An earlier filled copy of this same form, by the document id its fill answered. Its written answers are kept, each answer sent replaces that box's, and an answer of empty text takes that box's earlier answer off. When the same person filed it in the same turn, the new copy replaces it on the subject's Documents; otherwise both are kept.

turn
string

The Assistant turn filing the copy. A new copy records it, so the turn's outcome counts the copy it made.

Response

OK

data
object
required