Forms
Path parameters
form_idintegerRequired
Form identifier
Responses
200
Form schema retrieved
application/json
Dynamic form with JSON schema defining field definitions, validation rules, and actions. Used for generating form UIs and processing form submissions. Supports multi-language translations and pretty URLs. The schema defines input types, labels, and required fields.
pkintegerRequiredExample:
1namestringOptionalExample:
Contact FormurlstringOptionalExample:
/contact/templatestringOptionalExample:
cms/form.htmlis_activebooleanRequiredExample:
truecreated_datestring · date-timeOptional
modified_datestring · date-timeOptional
404
Form not found or not active
get/forms/{form_id}/generate
GET /forms/{form_id}/generate HTTP/1.1
Host: sandbox.akinon.com
Accept: */*
{
"pk": 1,
"name": "Contact Form",
"url": "/contact/",
"schema": {
"name": {
"input_type": "text",
"label": "Name",
"required": true
},
"email": {
"input_type": "email",
"label": "Email",
"required": true
}
},
"template": "cms/form.html",
"is_active": true,
"pretty_url": {
"url": "text"
},
"formprettyurl_set": [
{
"pk": 1,
"url": "text",
"language": "text"
}
],
"translations": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}Path parameters
form_idintegerRequired
Form identifier
Body
Form data structure depends on the form schema
Other propertiesanyOptional
Responses
200
Form submitted successfully
application/json
objectOptional
400
Validation error
application/json
404
Form not found or not active
post/forms/{form_id}/generate
POST /forms/{form_id}/generate HTTP/1.1
Host: sandbox.akinon.com
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}{}Last updated
Was this helpful?

