API 参考
Forms
Management API: GET /sites/{id}/forms, GET /sites/{id}/forms/{formId}
List this website's online forms with status, availability and submission counts. Errors: FORBIDDEN, INVALID_CURSOR.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
limitinteger · queryMaximum number of items to return, 1–100. Defaults to 20.
cursorstring · queryOpaque cursor from the previous page's nextCursor. Omit for the first page.
Response 200
dataobject[]requireddata[].idstringrequireddata[].namestringrequireddata[].statusstringrequireddata[].availabilitystringrequiredopen, paused, closed_by_schedule, full, ... (see FormAvailability).
data[].hasIdentitybooleanrequiredfalse = anonymous form (no email/phone field); submissions do not create contacts.
data[].fieldCountintegerrequireddata[].submissionCountintegerrequiredNon-spam submissions.
data[].unreadCountintegerrequireddata[].updatedAtstringrequiredhasMorebooleanrequiredTrue when another page exists; pass nextCursor to fetch it.
nextCursorstring | nullrequiredCursor for the next page, or null on the last page.
Errors
FORBIDDEN403INVALID_CURSOR400
MCP tool forms_list
curl -X GET "https://app.kanorio.com/api/v1/sites/{id}/forms" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"data": [
{
"id": "form_example01",
"name": "Pre-order form",
"status": "PUBLISHED",
"availability": "OPEN",
"hasIdentity": true,
"fieldCount": 4,
"submissionCount": 12,
"unreadCount": 2,
"updatedAt": "2026-10-01T02:30:00.000Z"
}
],
"hasMore": false,
"nextCursor": null
}Get one form including its field definitions and settings (read-only; forms are edited in the console). Errors: FORBIDDEN, FORM_NOT_FOUND.
Parameters
idstring · pathrequiredWebsite id. Get it from sites.list or from sites.create.
formIdstring · pathrequiredForm id. Get it from forms.list.
Response 200
idstringrequirednamestringrequireddescriptionstring | nullrequiredstatusstringrequiredavailabilitystringrequiredopen, paused, closed_by_schedule, full, ... (see FormAvailability).
fieldsobject[]requiredForm field definitions (id, type, label, required, options, contactMapping...).
settingsobjectrequiredreplyEmailEnabledbooleanrequiredsubmissionCountintegerrequiredcreatedAtstringrequiredupdatedAtstringrequired
Errors
FORBIDDEN403FORM_NOT_FOUND404
MCP tool forms_get
curl -X GET "https://app.kanorio.com/api/v1/sites/{id}/forms/{formId}" \
-H "Authorization: Bearer $KANORIO_TOKEN"{
"id": "form_example01",
"name": "Pre-order form",
"description": "Leave your details and we'll confirm your order by email.",
"status": "PUBLISHED",
"availability": "OPEN",
"fields": [
{
"id": "name",
"type": "text",
"label": "Name",
"required": true
},
{
"id": "email",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "message",
"type": "textarea",
"label": "Message",
"required": false
}
],
"settings": {
"successMessage": "Thanks! We'll get back to you shortly."
},
"replyEmailEnabled": true,
"submissionCount": 12,
"createdAt": "2026-08-12T03:20:00.000Z",
"updatedAt": "2026-10-01T02:30:00.000Z"
}