Forms
Forms and what people sent through them.
- GET
/sites/{siteId}/formsList forms - POST
/sites/{siteId}/formsCreate a form - GET
/sites/{siteId}/forms/{formId}Get a form - PUT
/sites/{siteId}/forms/{formId}Replace a form - DEL
/sites/{siteId}/forms/{formId}Delete a form - GET
/sites/{siteId}/submissionsList submissions - DEL
/sites/{siteId}/submissions/{submissionId}Delete a submission
List forms
/sites/{siteId}/formsThe site’s forms with their fields, settings and submission counts.
Path parameters
siteIdstringrequiredThe site’s id.
Response 200
itemsarray of objectsrequired6 child fields
idstringrequiredkeystringrequirednamestringrequiredfieldsarrayrequiredsettingsobjectrequiredsubmissionCountnumber
cursorstringnullablePass as ?cursor= to get the next page. Null when there are no more.
totalintegerHow many there are in all, when the list knows.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/forms \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/forms', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/forms",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "frm_123",
"key": "team",
"name": "Ana",
"fields": [
{}
],
"settings": {},
"submissionCount": 12
}
],
"cursor": null,
"total": 1
}Create a form
/sites/{siteId}/formsAdd a form. Show it on a page with a form block that names its key.
Path parameters
siteIdstringrequiredThe site’s id.
Headers
Idempotency-KeystringSend the same key to repeat this request safely; the first answer is replayed for 24 hours.
up to 200 characters
Request body JSON
keystringThe handle blocks use to show the form. Made from the name when left out.
up to 60 characters
namestringrequiredat least 1 characters · up to 120 characters
fieldsarray of objectsrequiredup to 40 items
9 child fields
namestringrequiredLetters, numbers, - and _.
labelstringrequiredtypestringrequiredOne of
textemailtelurltextareaselectradiocheckboxcheckboxeshiddenrequiredbooleanplaceholderstringhelpstringoptionsarray of stringsmapsTostringWhich contact detail the answer fills in.
One of
emailnamecompanyphonewidthstringOne of
fullhalf
settingsobjectrequiredWhat happens after someone sends it.
6 child fields
submitLabelstringsuccessTitlestringsuccessMessagestringredirectstringnotifyarray of stringsEmail addresses told about each submission.
autoresponderobject3 child fields
enabledbooleanrequiredsubjectstringrequiredbodystringrequired
Response 201
idstringrequiredkeystringrequirednamestringrequiredfieldsarrayrequiredsettingsobjectrequiredsubmissionCountnumber
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/sites/site_123/forms \
-H "Authorization: Bearer $UNVOP_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Ana",
"fields": [
{
"name": "Ana",
"label": "Role",
"type": "text",
"required": true,
"options": [],
"mapsTo": "email",
"width": "full"
}
],
"settings": {
"notify": [],
"autoresponder": {
"enabled": true,
"subject": "…",
"body": "…"
}
}
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/forms', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
name: "Ana",
fields: [
{
name: "Ana",
label: "Role",
type: "text",
required: true,
options: [],
mapsTo: "email",
width: "full"
}
],
settings: {
notify: [],
autoresponder: {
enabled: true,
subject: "…",
body: "…"
}
}
}),
});
const data = await res.json();import os, requests, uuid
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/forms",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"name": "Ana",
"fields": [
{
"name": "Ana",
"label": "Role",
"type": "text",
"required": True,
"options": [],
"mapsTo": "email",
"width": "full",
},
],
"settings": {
"notify": [],
"autoresponder": {
"enabled": True,
"subject": "…",
"body": "…",
},
},
},
)
data = res.json(){
"id": "frm_123",
"key": "team",
"name": "Ana",
"fields": [
{}
],
"settings": {},
"submissionCount": 12
}Get a form
/sites/{siteId}/forms/{formId}One form.
Path parameters
siteIdstringrequiredThe site’s id.
formIdstringrequired
Response 200
idstringrequiredkeystringrequirednamestringrequiredfieldsarrayrequiredsettingsobjectrequiredsubmissionCountnumber
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/forms/frm_123 \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/forms/frm_123', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/forms/frm_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"id": "frm_123",
"key": "team",
"name": "Ana",
"fields": [
{}
],
"settings": {},
"submissionCount": 12
}Replace a form
/sites/{siteId}/forms/{formId}Replace a form’s name, fields and settings. Its key stays the same.
Path parameters
siteIdstringrequiredThe site’s id.
formIdstringrequired
Request body JSON
keystringThe handle blocks use to show the form. Made from the name when left out.
up to 60 characters
namestringrequiredat least 1 characters · up to 120 characters
fieldsarray of objectsrequiredup to 40 items
9 child fields
namestringrequiredLetters, numbers, - and _.
labelstringrequiredtypestringrequiredOne of
textemailtelurltextareaselectradiocheckboxcheckboxeshiddenrequiredbooleanplaceholderstringhelpstringoptionsarray of stringsmapsTostringWhich contact detail the answer fills in.
One of
emailnamecompanyphonewidthstringOne of
fullhalf
settingsobjectrequiredWhat happens after someone sends it.
6 child fields
submitLabelstringsuccessTitlestringsuccessMessagestringredirectstringnotifyarray of stringsEmail addresses told about each submission.
autoresponderobject3 child fields
enabledbooleanrequiredsubjectstringrequiredbodystringrequired
Response 200
idstringrequiredkeystringrequirednamestringrequiredfieldsarrayrequiredsettingsobjectrequiredsubmissionCountnumber
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X PUT https://api.unvop.com/v1/sites/site_123/forms/frm_123 \
-H "Authorization: Bearer $UNVOP_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Ana",
"fields": [
{
"name": "Ana",
"label": "Role",
"type": "text",
"required": true,
"options": [],
"mapsTo": "email",
"width": "full"
}
],
"settings": {
"notify": [],
"autoresponder": {
"enabled": true,
"subject": "…",
"body": "…"
}
}
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/forms/frm_123', {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: "Ana",
fields: [
{
name: "Ana",
label: "Role",
type: "text",
required: true,
options: [],
mapsTo: "email",
width: "full"
}
],
settings: {
notify: [],
autoresponder: {
enabled: true,
subject: "…",
body: "…"
}
}
}),
});
const data = await res.json();import os, requests
res = requests.put(
"https://api.unvop.com/v1/sites/site_123/forms/frm_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
json={
"name": "Ana",
"fields": [
{
"name": "Ana",
"label": "Role",
"type": "text",
"required": True,
"options": [],
"mapsTo": "email",
"width": "full",
},
],
"settings": {
"notify": [],
"autoresponder": {
"enabled": True,
"subject": "…",
"body": "…",
},
},
},
)
data = res.json(){
"id": "frm_123",
"key": "team",
"name": "Ana",
"fields": [
{}
],
"settings": {},
"submissionCount": 12
}Delete a form
/sites/{siteId}/forms/{formId}Delete a form and its submissions.
Path parameters
siteIdstringrequiredThe site’s id.
formIdstringrequired
Response 200
oktruerequired
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X DELETE https://api.unvop.com/v1/sites/site_123/forms/frm_123 \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/forms/frm_123', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.delete(
"https://api.unvop.com/v1/sites/site_123/forms/frm_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"ok": true
}List submissions
/sites/{siteId}/submissionsSent forms, newest first. Filter by form with formId.
Path parameters
siteIdstringrequiredThe site’s id.
Query parameters
limitintegerHow many to return (default 50).
min 1 · max 200
cursorstringThe cursor from the previous page.
formIdstring
Response 200
itemsarray of objectsrequired6 child fields
idstringrequiredformIdstringrequiredformNamestringcontactIdstringnullabledataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
cursorstringnullablePass as ?cursor= to get the next page. Null when there are no more.
totalintegerHow many there are in all, when the list knows.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/submissions \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/submissions', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/submissions",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "sub_123",
"formId": "frm_123",
"contactId": "con_123",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z"
}
],
"cursor": null,
"total": 1
}Delete a submission
/sites/{siteId}/submissions/{submissionId}Delete one sent form. The contact it created stays.
Path parameters
siteIdstringrequiredThe site’s id.
submissionIdstringrequired
Response 200
oktruerequired
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X DELETE https://api.unvop.com/v1/sites/site_123/submissions/sub_123 \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/submissions/sub_123', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.delete(
"https://api.unvop.com/v1/sites/site_123/submissions/sub_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"ok": true
}