Skip to main content
POST
Submit a form

Authorizations

API-Key
string
header
required

Your API key, from More → API & Integrations in the dashboard, or from ht signup / ht auth login.

Body

application/json

Send either values (answers by field name, filled into the template) or a complete content; not both.

templateId
string

Required unless content.id names the template.

values
object

Field name (case-insensitive) to value. Unknown names are refused.

content
object
memberId
string

Submit for this member (admins); defaults to the caller. A worker may only submit as himself.

jobId
string

Job the submission belongs to; it is added to the job's submitted forms.

placeId
string

Place; defaults to the job's place.

location
object

Response

OK

data
object

The payload.

error
null
meta
object