{
"error": "param is missing or the value is empty: condition"
}
{
"error": "Form does not exist."
}
Conditional logic
Create a condition
Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. enabled defaults to true. The values of verb and action_type are stored as you send them.
How to compare the answer. For example is_answered, is_not_answered, is_equal, is_not_equal, contains, does_not_contain, is_less_than, is_greater_than, is_less_than_or_equal_to, is_greater_than_or_equal_to, is_before, is_after, is_agreed or is_not_agreed.
How to compare the answer. For example is_answered, is_not_answered, is_equal, is_not_equal, contains, does_not_contain, is_less_than, is_greater_than, is_less_than_or_equal_to, is_greater_than_or_equal_to, is_before, is_after, is_agreed or is_not_agreed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NeetoForm Docs","description":"Developer docs for NeetoForm: the REST API, the CLI and the MCP server.","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":"https://mintcdn.com/neetoform-apis/-66QiVVszjHcVucP/assets/logo.svg?fit=max\u0026auto=format\u0026n=-66QiVVszjHcVucP\u0026q=85\u0026s=d350b3ee00a26ab9f9d6f4b30dbd0584","favicon":"https://mintcdn.com/neetoform-apis/HqahXeyqPCNJx-8w/assets/favicon.svg?fit=max\u0026auto=format\u0026n=HqahXeyqPCNJx-8w\u0026q=85\u0026s=1a3b3b7608dee2fae28509f76f624daa","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.neeto.com/neetoform/blog","label":"Blog"},{"href":"https://help.neetoform.com/","label":"Help center"},{"href":"https://neetoform.com/","label":"NeetoForm"}]},"footer":{"socials":{"x":"https://x.com/neetohq","linkedin":"https://www.linkedin.com/company/neeto","youtube":"https://www.youtube.com/channel/UCoQ3Kv2JdZ51WZJ3QFFcI9g","slack":"https://neeto.com/community"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neetoform-apis","hasAudioNarration":false,"actualSubdomain":"neetoform-apis","customDomains":["apidocs.neetoform.com"],"gitSource":{"type":"github","owner":"neetoformapis","repo":"neeto-form-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad8b1b2b264ebf3acb4af55","collectionId":"0e1d27db-f968-4988-86eb-56eb22164ea8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8b1b2b264ebf3acb4af55"},"entitlements":{},"buildId":"6ae267f52d16dd113501a871","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API","count":21},{"language":"default","tag":"Getting started","count":20},{"language":"default","tag":"CLI","count":11},{"language":"default","tag":"MCP","count":8},{"language":"default","tag":"API v1 (deprecated)","count":6},{"language":"default","tag":"Team members","count":5},{"language":"default","tag":"Commands","count":4},{"language":"default","tag":"Forms","count":3},{"language":"default","tag":"Submissions","count":1},{"language":"default","tag":"Reference","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"theme.css","content":":root{--primary-green:#0da874;--white:#ffffff;--light-gray:#eeeeee;--dark-gray:#1f2937;--text-white:rgb(255, 255, 255);--text-light:rgb(238, 238, 238)}#navbar-transition,[data-nav=true]{background-color:var(--primary-green)!important}.nav-logo{filter:brightness(0) invert(1)!important;height:20px!important;width:auto!important;max-width:none!important}#navbar-transition a,.nav-tabs-item.text-gray-800,.nav-tabs-item:hover,.navbar-link a,[data-nav=true] a{color:var(--text-white)!important}#navbar-transition a:hover,.navbar-link a:hover,[data-nav=true] a:hover{color:var(--text-light)!important}#navbar .text-sm,#navbar .text-xs,#navbar button,#navbar div,#navbar p,#navbar span{color:var(--white)!important}#navbar .bg-gray-300,#navbar .bg-gray-400,#navbar .bg-gray-500,#navbar .bg-gray-600,.nav-tabs-item .bg-primary,[data-headlessui-state=open] [id*=headlessui-dialog-panel]{background-color:var(--white)!important}.nav-tabs-item{color:rgba(255,255,255,.85)!important}.nav-tabs-item:hover>.absolute:not(.bg-primary){background-color:rgba(255,255,255,.4)!important}[data-headlessui-state=open] [id*=headlessui-dialog-panel] .dark\\:text-gray-400,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .navbar-link a,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .text-gray-600{color:var(--dark-gray)!important}#search-bar-entry .text-sm,#search-bar-entry .text-xs,#search-bar-entry button,#search-bar-entry div,#search-bar-entry img,#search-bar-entry p,#search-bar-entry span,#search-bar-entry svg,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .dark\\:hover\\:text-gray-300:hover,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .hover\\:text-gray-900:hover,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .navbar-link a:hover{color:var(--primary-green)!important}"}],"page":{"pagePath":"api/conditions/create","slug":"/api/conditions/create","pageMetadata":{"title":"Create a condition","openapi":"bundled/conditions.yaml POST /forms/{form_id}/conditions","description":"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. `enabled` defaults to true. The values of `verb` and `action_type` are stored as you send them.","href":"/api/conditions/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. \", _jsx(_components.code, {\n children: \"enabled\"\n }), \" defaults to true. The values of \", _jsx(_components.code, {\n children: \"verb\"\n }), \" and \", _jsx(_components.code, {\n children: \"action_type\"\n }), \" are stored as you send them.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(Info,{children:[`Replace `,_jsx(_components.code,{children:`{your-subdomain}`}),` with your workspace’s subdomain. `,_jsx(`br`,{}),` Learn how to find your subdomain in `,_jsx(_components.a,{href:`/api/workspace-subdomain`,children:`Workspace subdomain`}),`.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Create a condition","openapi":"bundled/conditions.yaml POST /forms/{form_id}/conditions","description":"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. `enabled` defaults to true. The values of `verb` and `action_type` are stored as you send them.","href":"/api/conditions/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neetoform-apis/c7a6987cd31f1479/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Create a condition","tags":["Conditional logic"],"description":"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. `enabled` defaults to true. The values of `verb` and `action_type` are stored as you send them.","parameters":["3b455423-e953-415b-b020-5e9af03fdd85","e5b40833-14c8-453b-a37f-c6dff2287c1a"],"requestBody":"0664e8bc-e42a-4506-b756-2270f31a74fc","responses":{"201":"a6e4f2aa-79aa-41aa-a5e1-c9cb21899f46","400":"12d8fee5-b19e-4f63-bbff-f3373a5a3921","404":"12b70fb6-9cf2-4d55-8f35-ff63a75c55c7"},"method":"post","type":"path","servers":["61ac2c2e-c74e-422d-a1bf-017cdaf8e652"],"security":[],"path":"/forms/{form_id}/conditions","baseUrlOptions":["https://{your-subdomain}.neetoform.com/api/external/v2"],"title":"Create a condition","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3b455423-e953-415b-b020-5e9af03fdd85":{"in":"header","name":"X-Api-Key","description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","required":true,"schema":{"type":"string","default":"your-api-key","isRequired":true,"description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","uniqueKey":"","typeLabel":"string"}},"e5b40833-14c8-453b-a37f-c6dff2287c1a":{"in":"path","name":"form_id","description":"Unique ID of the form. Refer to [Getting the Form ID](/api/getting-form-id) for detailed instructions.","required":true,"schema":{"type":"string","isRequired":true,"description":"Unique ID of the form. Refer to [Getting the Form ID](/api/getting-form-id) for detailed instructions.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["condition"],"properties":{"condition":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the condition is on. Defaults to true.","uniqueKey":"condition.enabled","typeLabel":"boolean"},"conditions":{"type":"object","description":"The rules that must match for the actions to run.","properties":{"join_type":{"type":"string","enum":["and","or"],"description":"Whether all items (`and`) or any item (`or`) must match.","example":"and","uniqueKey":"condition.conditions.join_type","typeLabel":"enum\u003cstring>"},"items":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"ID of the question to check.","uniqueKey":"condition.conditions.\\items.items.[INDEX].field","typeLabel":"string"},"verb":{"type":"string","description":"How to compare the answer. For example `is_answered`, `is_not_answered`, `is_equal`, `is_not_equal`, `contains`, `does_not_contain`, `is_less_than`, `is_greater_than`, `is_less_than_or_equal_to`, `is_greater_than_or_equal_to`, `is_before`, `is_after`, `is_agreed` or `is_not_agreed`.","example":"is_equal","uniqueKey":"condition.conditions.\\items.items.[INDEX].verb","typeLabel":"string"},"record":{"type":"string","description":"Use `custom_value` to compare with `value`, or give the ID of another question to compare with its answer.","example":"custom_value","uniqueKey":"condition.conditions.\\items.items.[INDEX].record","typeLabel":"string"},"value":{"type":"string","description":"The value to compare with. For choice questions, use the ID of the option.","example":"Yes","uniqueKey":"condition.conditions.\\items.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"condition.conditions.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"condition.conditions.\\items","typeLabel":"object[]"}},"uniqueKey":"condition.conditions","typeLabel":"object"},"actions":{"type":"object","description":"What happens when the rules match.","properties":{"items":{"type":"array","items":{"type":"object","properties":{"action_type":{"type":"string","description":"One of `show`, `hide`, `show_multiple`, `hide_multiple`, `add`, `subtract`, `multiply`, `divide`, `assign`, `concat`, `prepend` or `changeThankYouPage`.","example":"show_multiple","uniqueKey":"condition.actions.\\items.items.[INDEX].action_type","typeLabel":"string"},"fields":{"type":"array","description":"IDs of the questions to show or hide.","items":{"type":"string","uniqueKey":"condition.actions.\\items.items.[INDEX].fields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"condition.actions.\\items.items.[INDEX].fields","typeLabel":"string[]"},"field":{"type":"string","description":"ID of the question that gets the calculated value.","uniqueKey":"condition.actions.\\items.items.[INDEX].field","typeLabel":"string"},"value":{"type":"string","description":"ID of the question to use as the operand, `custom_value`, or the ID of a thank you page.","uniqueKey":"condition.actions.\\items.items.[INDEX].value","typeLabel":"string"},"custom_value":{"type":"string","description":"The value to use when `value` is `custom_value`.","uniqueKey":"condition.actions.\\items.items.[INDEX].custom_value","typeLabel":"string"}},"uniqueKey":"condition.actions.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"condition.actions.\\items","typeLabel":"object[]"}},"uniqueKey":"condition.actions","typeLabel":"object"}},"isRequired":true,"uniqueKey":"condition","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"condition":{"enabled":true,"conditions":{"join_type":"and","items":[{"field":"\u003cstring>","verb":"is_equal","record":"custom_value","value":"Yes"}]},"actions":{"items":[{"action_type":"show_multiple","fields":["\u003cstring>"],"field":"\u003cstring>","value":"\u003cstring>","custom_value":"\u003cstring>"}]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a6e4f2aa-79aa-41aa-a5e1-c9cb21899f46":{"description":"Created - The condition was created","content":{"application/json":{"schema":{"type":"object","properties":{"condition":{"type":"object","properties":{"id":{"type":"string","example":"7c1d2b0e-3f7a-4c55-9d2e-0b8e1f6a9c11","uniqueKey":"condition.id","typeLabel":"string"},"enabled":{"type":"boolean","uniqueKey":"condition.enabled","typeLabel":"boolean"},"priority":{"type":"integer","description":"Position in the order in which conditions are checked, starting from 1.","uniqueKey":"condition.priority","typeLabel":"integer"},"conditions":{"type":"object","description":"The rules that must match for the actions to run.","properties":{"join_type":{"type":"string","enum":["and","or"],"description":"Whether all items (`and`) or any item (`or`) must match.","example":"and","uniqueKey":"condition.conditions.join_type","typeLabel":"enum\u003cstring>"},"items":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"ID of the question to check.","uniqueKey":"condition.conditions.\\items.items.[INDEX].field","typeLabel":"string"},"verb":{"type":"string","description":"How to compare the answer. For example `is_answered`, `is_not_answered`, `is_equal`, `is_not_equal`, `contains`, `does_not_contain`, `is_less_than`, `is_greater_than`, `is_less_than_or_equal_to`, `is_greater_than_or_equal_to`, `is_before`, `is_after`, `is_agreed` or `is_not_agreed`.","example":"is_equal","uniqueKey":"condition.conditions.\\items.items.[INDEX].verb","typeLabel":"string"},"record":{"type":"string","description":"Use `custom_value` to compare with `value`, or give the ID of another question to compare with its answer.","example":"custom_value","uniqueKey":"condition.conditions.\\items.items.[INDEX].record","typeLabel":"string"},"value":{"type":"string","description":"The value to compare with. For choice questions, use the ID of the option.","example":"Yes","uniqueKey":"condition.conditions.\\items.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"condition.conditions.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"condition.conditions.\\items","typeLabel":"object[]"}},"uniqueKey":"condition.conditions","typeLabel":"object"},"actions":{"type":"object","description":"What happens when the rules match.","properties":{"items":{"type":"array","items":{"type":"object","properties":{"action_type":{"type":"string","description":"One of `show`, `hide`, `show_multiple`, `hide_multiple`, `add`, `subtract`, `multiply`, `divide`, `assign`, `concat`, `prepend` or `changeThankYouPage`.","example":"show_multiple","uniqueKey":"condition.actions.\\items.items.[INDEX].action_type","typeLabel":"string"},"fields":{"type":"array","description":"IDs of the questions to show or hide.","items":{"type":"string","uniqueKey":"condition.actions.\\items.items.[INDEX].fields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"condition.actions.\\items.items.[INDEX].fields","typeLabel":"string[]"},"field":{"type":"string","description":"ID of the question that gets the calculated value.","uniqueKey":"condition.actions.\\items.items.[INDEX].field","typeLabel":"string"},"value":{"type":"string","description":"ID of the question to use as the operand, `custom_value`, or the ID of a thank you page.","uniqueKey":"condition.actions.\\items.items.[INDEX].value","typeLabel":"string"},"custom_value":{"type":"string","description":"The value to use when `value` is `custom_value`.","uniqueKey":"condition.actions.\\items.items.[INDEX].custom_value","typeLabel":"string"}},"uniqueKey":"condition.actions.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"condition.actions.\\items","typeLabel":"object[]"}},"uniqueKey":"condition.actions","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","uniqueKey":"condition.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"condition.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"condition","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"condition":{"id":"7c1d2b0e-3f7a-4c55-9d2e-0b8e1f6a9c11","enabled":true,"priority":123,"conditions":{"join_type":"and","items":[{"field":"\u003cstring>","verb":"is_equal","record":"custom_value","value":"Yes"}]},"actions":{"items":[{"action_type":"show_multiple","fields":["\u003cstring>"],"field":"\u003cstring>","value":"\u003cstring>","custom_value":"\u003cstring>"}]},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"12d8fee5-b19e-4f63-bbff-f3373a5a3921":{"description":"Bad Request - The `condition` key is missing","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"param is missing or the value is empty: condition"},"examples":{"Example":{"title":"Example","value":{"error":"param is missing or the value is empty: condition"}}},"exampleType":"examples"}},"exampleType":"examples"},"12b70fb6-9cf2-4d55-8f35-ff63a75c55c7":{"description":"Not Found - The form does not exist","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Form does not exist."},"examples":{"Example":{"title":"Example","value":{"error":"Form does not exist."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"61ac2c2e-c74e-422d-a1bf-017cdaf8e652":{"description":"NeetoForm APIs","url":"https://{your-subdomain}.neetoform.com/api/external/v2","variables":{"your-subdomain":{"default":"spinkart","description":"Replace **spinkart** with your [workspace's subdomain](/api/workspace-subdomain)."}}}}},"originalFileLocation":"bundled/conditions.yaml"},"subdomain":"neetoform-apis","siteName":"NeetoForm Docs","title":"Create a condition - NeetoForm Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T21:24:22.991Z","originalFileLocation":"api/conditions/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. enabled defaults to true. The values of verb and action_type are stored as you send them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NeetoForm Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a condition - NeetoForm Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. enabled defaults to true. The values of verb and action_type are stored as you send them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NeetoForm Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.neetoform.com/api/conditions/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neetoform-apis.mintlify.app/_mintlify/api/og/v2?division=Conditional+logic\u0026amp;title=Create+a+condition\u0026amp;description=Create+a+condition.+It+is+added+after+the+last+one%2C+so+its+priority+is+the+last+priority+plus+1.+Every+key+of+the+condition+is+optional.+%60enabled%60+defaults+to+t\u0026amp;theme=1d22d0b23aafdc46ee97ef7b\u0026amp;signature=1efa122882d74336de4078bfcc6c8f91cf452c5eea72e9f70144d1b3e31ea3ff\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a condition - NeetoForm Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. enabled defaults to true. The values of verb and action_type are stored as you send them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neetoform-apis.mintlify.app/_mintlify/api/og/v2?division=Conditional+logic\u0026amp;title=Create+a+condition\u0026amp;description=Create+a+condition.+It+is+added+after+the+last+one%2C+so+its+priority+is+the+last+priority+plus+1.+Every+key+of+the+condition+is+optional.+%60enabled%60+defaults+to+t\u0026amp;theme=1d22d0b23aafdc46ee97ef7b\u0026amp;signature=1efa122882d74336de4078bfcc6c8f91cf452c5eea72e9f70144d1b3e31ea3ff\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NeetoForm Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.neetoform.com/api/conditions/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/conditions/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.neetoform.com/#organization\",\"name\":\"NeetoForm Docs\",\"url\":\"https://apidocs.neetoform.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neetoform-apis/-66QiVVszjHcVucP/assets/logo.svg?fit=max\u0026auto=format\u0026n=-66QiVVszjHcVucP\u0026q=85\u0026s=d350b3ee00a26ab9f9d6f4b30dbd0584\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.neetoform.com#website\",\"name\":\"NeetoForm Docs\",\"url\":\"https://apidocs.neetoform.com\",\"publisher\":{\"@id\":\"https://apidocs.neetoform.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.neetoform.com/api/conditions/create#webpage\",\"url\":\"https://apidocs.neetoform.com/api/conditions/create\",\"name\":\"Create a condition\",\"description\":\"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. enabled defaults to true. The values of verb and action_type are stored as you send them.\",\"dateModified\":\"2026-10-28T21:24:22.991Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetoform.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetoform.com/api/conditions/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetoform.com/api/conditions/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Conditional logic\",\"item\":\"https://apidocs.neetoform.com/api/conditions/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a condition\",\"item\":\"https://apidocs.neetoform.com/api/conditions/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetoform.com/api/conditions/create#apireference\",\"headline\":\"Create a condition\",\"name\":\"Create a condition\",\"description\":\"Create a condition. It is added after the last one, so its priority is the last priority plus 1. Every key of the condition is optional. enabled defaults to true. The values of verb and action_type are stored as you send them.\",\"url\":\"https://apidocs.neetoform.com/api/conditions/create\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetoform.com/api/conditions/create#webpage\"},\"dateModified\":\"2026-10-28T21:24:22.991Z\",\"publisher\":{\"@id\":\"https://apidocs.neetoform.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.neetoform.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NeetoForm Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"NeetoForm Docs","nav":{"global":null,"tabs":[{"tab":"API","icon":"code","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"NeetoForm API","href":"/api/introduction"},{"title":"Workspace subdomain","href":"/api/workspace-subdomain"},{"title":"Authentication","href":"/api/authentication"},{"title":"Pagination","href":"/api/pagination"},{"title":"HTTP response codes","href":"/api/response-codes"},{"title":"Getting the form ID","href":"/api/getting-form-id"}]},{"group":"Forms","icon":"file-text","pages":[{"title":"List forms","openapi":"bundled/forms.yaml GET /forms","href":"/api/forms/list"},{"title":"Show a form","openapi":"bundled/forms.yaml GET /forms/{form_id}","href":"/api/forms/show"},{"title":"Create form","openapi":"bundled/forms.yaml POST /forms","href":"/api/forms/create"},{"title":"Update a form","openapi":"bundled/forms.yaml PATCH /forms/{form_id}","href":"/api/forms/update"},{"title":"Delete a form","openapi":"bundled/forms.yaml DELETE /forms/{form_id}","href":"/api/forms/delete"},{"title":"Update many forms","openapi":"bundled/forms.yaml PATCH /forms/bulk_update","href":"/api/forms/bulk-update"},{"title":"Delete many forms","openapi":"bundled/forms.yaml DELETE /forms/bulk_destroy","href":"/api/forms/bulk-delete"},{"title":"Count forms","openapi":"bundled/forms.yaml GET /forms/counts","href":"/api/forms/counts"},{"title":"Clone a form","openapi":"bundled/forms.yaml POST /forms/{form_id}/clone","href":"/api/forms/clone"},{"title":"Publish a form","openapi":"bundled/forms.yaml PATCH /forms/{form_id}/publish","href":"/api/forms/publish"},{"title":"Reset a form","openapi":"bundled/forms.yaml PATCH /forms/{form_id}/reset","href":"/api/forms/reset"},{"title":"Transfer forms","openapi":"bundled/forms.yaml POST /forms/transfer","href":"/api/forms/transfer"}]},{"group":"Questions","icon":"circle-question","pages":[{"title":"List question kinds","openapi":"bundled/questions.yaml GET /question_kinds","href":"/api/questions/kinds"},{"title":"List questions","openapi":"bundled/questions.yaml GET /forms/{form_id}/questions","href":"/api/questions/list"},{"title":"Show a question","openapi":"bundled/questions.yaml GET /forms/{form_id}/questions/{id}","href":"/api/questions/show"},{"title":"Add a question","openapi":"bundled/questions.yaml POST /forms/{form_id}/questions","href":"/api/questions/create"},{"title":"Add questions in bulk","openapi":"bundled/questions.yaml POST /forms/{form_id}/questions/bulk_create","href":"/api/questions/bulk-create"},{"title":"Update a question","openapi":"bundled/questions.yaml PATCH /forms/{form_id}/questions/{id}","href":"/api/questions/update"},{"title":"Delete a question","openapi":"bundled/questions.yaml DELETE /forms/{form_id}/questions/{id}","href":"/api/questions/delete"},{"title":"Duplicate a question","openapi":"bundled/questions.yaml POST /forms/{form_id}/questions/{id}/clone","href":"/api/questions/clone"},{"title":"Reorder questions","openapi":"bundled/questions.yaml PATCH /forms/{form_id}/questions/reorder","href":"/api/questions/reorder"}]},{"group":"Conditional logic","icon":"code-branch","pages":[{"title":"List conditions","openapi":"bundled/conditions.yaml GET /forms/{form_id}/conditions","href":"/api/conditions/list"},{"title":"Show a condition","openapi":"bundled/conditions.yaml GET /forms/{form_id}/conditions/{id}","description":"Show one condition of a form.","href":"/api/conditions/show"},{"title":"Create a condition","openapi":"bundled/conditions.yaml POST /forms/{form_id}/conditions","href":"/api/conditions/create"},{"title":"Update a condition","openapi":"bundled/conditions.yaml PATCH /forms/{form_id}/conditions/{id}","description":"Update a condition. Send only the keys you want to change. When you send `conditions` or `actions`, it replaces the whole current value.","href":"/api/conditions/update"},{"title":"Delete a condition","openapi":"bundled/conditions.yaml DELETE /forms/{form_id}/conditions/{id}","href":"/api/conditions/delete"},{"title":"Clone a condition","openapi":"bundled/conditions.yaml POST /forms/{form_id}/conditions/{id}/clone","href":"/api/conditions/clone"},{"title":"Reorder conditions","openapi":"bundled/conditions.yaml PATCH /forms/{form_id}/conditions/reorder","href":"/api/conditions/reorder"}]},{"group":"Automation rules","icon":"bolt","pages":[{"title":"List automation rules","openapi":"bundled/automation-rules.yaml GET /forms/{form_id}/automation_rules","href":"/api/automation-rules/list"},{"title":"Show an automation rule","openapi":"bundled/automation-rules.yaml GET /forms/{form_id}/automation_rules/{id}","href":"/api/automation-rules/show"},{"title":"Create an automation rule","openapi":"bundled/automation-rules.yaml POST /forms/{form_id}/automation_rules","href":"/api/automation-rules/create"},{"title":"Update an automation rule","openapi":"bundled/automation-rules.yaml PATCH /forms/{form_id}/automation_rules/{id}","href":"/api/automation-rules/update"},{"title":"Delete an automation rule","openapi":"bundled/automation-rules.yaml DELETE /forms/{form_id}/automation_rules/{id}","href":"/api/automation-rules/delete"},{"title":"Clone an automation rule","openapi":"bundled/automation-rules.yaml POST /forms/{form_id}/automation_rules/{id}/clone","href":"/api/automation-rules/clone"},{"title":"Reorder automation rules","openapi":"bundled/automation-rules.yaml PATCH /forms/{form_id}/automation_rules/reorder","href":"/api/automation-rules/reorder"}]},{"group":"Thank-you pages","icon":"circle-check","pages":[{"title":"List thank-you pages","openapi":"bundled/thank-you-pages.yaml GET /forms/{form_id}/thank_you_pages","href":"/api/thank-you-pages/list"},{"title":"Add a thank-you page","openapi":"bundled/thank-you-pages.yaml POST /forms/{form_id}/thank_you_pages","href":"/api/thank-you-pages/create"},{"title":"Get a thank-you page","openapi":"bundled/thank-you-pages.yaml GET /forms/{form_id}/thank_you_pages/{id}","href":"/api/thank-you-pages/show"},{"title":"Update a thank-you page","openapi":"bundled/thank-you-pages.yaml PATCH /forms/{form_id}/thank_you_pages/{id}","href":"/api/thank-you-pages/update"},{"title":"Delete a thank-you page","openapi":"bundled/thank-you-pages.yaml DELETE /forms/{form_id}/thank_you_pages/{id}","href":"/api/thank-you-pages/delete"}]},{"group":"Form settings","icon":"sliders","pages":[{"title":"Get email notification settings","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/email_notifications/{kind}","href":"/api/form-settings/show-email-notification"},{"title":"Update email notification settings","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/email_notifications/{kind}","href":"/api/form-settings/update-email-notification"},{"title":"Get unique submission setting","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/unique_submission","href":"/api/form-settings/show-unique-submission"},{"title":"Update unique submission setting","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/unique_submission","href":"/api/form-settings/update-unique-submission"},{"title":"Get form availability","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/availability","href":"/api/form-settings/show-availability"},{"title":"Update form availability","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/availability","href":"/api/form-settings/update-availability"},{"title":"Get access control","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/access_control","href":"/api/form-settings/show-access-control"},{"title":"Update access control","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/access_control","href":"/api/form-settings/update-access-control"},{"title":"List access control invitations","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/access_control_invitations","href":"/api/form-settings/list-invitations"},{"title":"Add access control invitations","openapi":"bundled/form-settings.yaml POST /forms/{form_id}/access_control_invitations","href":"/api/form-settings/create-invitations"},{"title":"Remove access control invitations","openapi":"bundled/form-settings.yaml DELETE /forms/{form_id}/access_control_invitations","href":"/api/form-settings/delete-invitations"},{"title":"List discount codes of a form","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/discount_codes","href":"/api/form-settings/list-discount-codes"},{"title":"Update discount codes of a form","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/discount_codes","href":"/api/form-settings/update-discount-codes"},{"title":"Get tracking codes","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/tracking_codes","href":"/api/form-settings/show-tracking-codes"},{"title":"Update tracking codes","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/tracking_codes","href":"/api/form-settings/update-tracking-codes"},{"title":"Get NeetoChat setting","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/neeto_chat","href":"/api/form-settings/show-neeto-chat"},{"title":"Update NeetoChat setting","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/neeto_chat","href":"/api/form-settings/update-neeto-chat"}]},{"group":"Message templates","icon":"envelope","pages":[{"title":"List message templates","openapi":"bundled/message-templates.yaml GET /forms/{form_id}/message_templates","href":"/api/message-templates/list"},{"title":"Add a message template","openapi":"bundled/message-templates.yaml POST /forms/{form_id}/message_templates","href":"/api/message-templates/create"},{"title":"Get a message template","openapi":"bundled/message-templates.yaml GET /forms/{form_id}/message_templates/{id}","href":"/api/message-templates/show"},{"title":"Update a message template","openapi":"bundled/message-templates.yaml PATCH /forms/{form_id}/message_templates/{id}","href":"/api/message-templates/update"},{"title":"Delete a message template","openapi":"bundled/message-templates.yaml DELETE /forms/{form_id}/message_templates/{id}","href":"/api/message-templates/delete"}]},{"group":"Share","icon":"share-nodes","pages":[{"title":"Get share details","openapi":"bundled/share.yaml GET /forms/{form_id}/share","href":"/api/share/show"},{"title":"Update the public link","openapi":"bundled/share.yaml PATCH /forms/{form_id}/public_link","href":"/api/share/update-public-link"},{"title":"Create a prefilled link","openapi":"bundled/share.yaml POST /forms/{form_id}/prefilled_link","href":"/api/share/prefilled-link"},{"title":"Send email invitations","openapi":"bundled/share.yaml POST /forms/{form_id}/email_invitations","href":"/api/share/email-invitations"}]},{"group":"Submissions","icon":"inbox","pages":[{"title":"List submissions","openapi":"bundled/submissions.yaml GET /forms/{form_id}/submissions","href":"/api/submissions/list"},{"title":"Get a submission","openapi":"bundled/submissions.yaml GET /forms/{form_id}/submissions/{id}","href":"/api/submissions/get"},{"title":"Delete a submission","openapi":"bundled/submissions.yaml DELETE /forms/{form_id}/submissions/{id}","href":"/api/submissions/delete"},{"title":"Delete submissions in bulk","openapi":"bundled/submissions.yaml DELETE /forms/{form_id}/submissions/bulk_destroy","href":"/api/submissions/bulk-delete"},{"title":"Send responses by email","openapi":"bundled/submissions.yaml POST /forms/{form_id}/submissions/send_responses","href":"/api/submissions/send-responses"},{"title":"Export submissions","openapi":"bundled/submissions.yaml POST /forms/{form_id}/exports","href":"/api/submissions/export"},{"title":"Get form insights","openapi":"bundled/submissions.yaml GET /forms/{form_id}/insights","href":"/api/submissions/insights"}]},{"group":"Themes","icon":"palette","pages":[{"title":"List themes","openapi":"bundled/themes.yaml GET /themes","href":"/api/themes/list"},{"title":"Get a theme","openapi":"bundled/themes.yaml GET /themes/{id}","href":"/api/themes/show"},{"title":"Create a theme","openapi":"bundled/themes.yaml POST /themes","href":"/api/themes/create"},{"title":"Update a theme","openapi":"bundled/themes.yaml PATCH /themes/{id}","href":"/api/themes/update"},{"title":"Delete a theme","openapi":"bundled/themes.yaml DELETE /themes/{id}","href":"/api/themes/delete"},{"title":"Apply a theme to a form","openapi":"bundled/themes.yaml PATCH /forms/{form_id}/theme","href":"/api/themes/apply"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List form webhooks","openapi":"bundled/webhooks.yaml GET /forms/{form_id}/webhooks","href":"/api/webhooks/list-form"},{"title":"Create a form webhook","openapi":"bundled/webhooks.yaml POST /forms/{form_id}/webhooks","href":"/api/webhooks/create-form"},{"title":"List workspace webhooks","openapi":"bundled/webhooks.yaml GET /webhooks","href":"/api/webhooks/list"},{"title":"Create a workspace webhook","openapi":"bundled/webhooks.yaml POST /webhooks","href":"/api/webhooks/create"},{"title":"Get a webhook","openapi":"bundled/webhooks.yaml GET /webhooks/{id}","href":"/api/webhooks/show"},{"title":"Delete a webhook","openapi":"bundled/webhooks.yaml DELETE /webhooks/{id}","href":"/api/webhooks/delete"}]},{"group":"Discount codes","icon":"tag","pages":[{"title":"List discount codes","openapi":"bundled/discount-codes.yaml GET /discount_codes","href":"/api/discount-codes/list"},{"title":"Get a discount code","openapi":"bundled/discount-codes.yaml GET /discount_codes/{id}","href":"/api/discount-codes/show"},{"title":"Create a discount code","openapi":"bundled/discount-codes.yaml POST /discount_codes","href":"/api/discount-codes/create"},{"title":"Update a discount code","openapi":"bundled/discount-codes.yaml PATCH /discount_codes/{id}","href":"/api/discount-codes/update"},{"title":"Delete a discount code","openapi":"bundled/discount-codes.yaml DELETE /discount_codes/{id}","href":"/api/discount-codes/delete"},{"title":"List forms for discount codes","openapi":"bundled/discount-codes.yaml GET /discount_codes/forms","href":"/api/discount-codes/list-forms"},{"title":"List redemptions","openapi":"bundled/discount-codes.yaml GET /discount_codes/{discount_code_id}/redemptions","href":"/api/discount-codes/redemptions"},{"title":"Get the report","openapi":"bundled/discount-codes.yaml GET /discount_codes/{discount_code_id}/report","href":"/api/discount-codes/report"}]},{"group":"Templates","icon":"copy","pages":[{"title":"List templates","openapi":"bundled/templates.yaml GET /templates","href":"/api/templates/list"},{"title":"Get a template","openapi":"bundled/templates.yaml GET /templates/{id}","href":"/api/templates/show"},{"title":"Create a form from a template","openapi":"bundled/templates.yaml POST /templates/{template_id}/forms","href":"/api/templates/create-form"}]},{"group":"Team members","icon":"user-group","pages":[{"title":"List team members","openapi":"bundled/team-members.yaml GET /team-members","href":"/api/team-members/list"},{"title":"Get a team member","openapi":"bundled/team-members.yaml GET /team-members/{team_member_id}","href":"/api/team-members/show"},{"title":"Add team members","openapi":"bundled/team-members.yaml POST /team-members","href":"/api/team-members/add"},{"title":"Update team member","openapi":"bundled/team-members.yaml PATCH /team-members/{team_member_id}","href":"/api/team-members/update"},{"title":"Remove team member","openapi":"bundled/team-members.yaml DELETE /team-members/{team_member_id}","href":"/api/team-members/remove"},{"title":"List deactivated team members","openapi":"bundled/deactivated-team-members.yaml GET /deactivated_team_members","href":"/api/team-members/list-deactivated"},{"title":"Reactivate a team member","openapi":"bundled/deactivated-team-members.yaml PATCH /deactivated_team_members/{id}/reactivate","href":"/api/team-members/reactivate"}]},{"group":"Roles","icon":"user-shield","pages":[{"title":"List roles","openapi":"bundled/roles.yaml GET /roles","href":"/api/roles/list"}]},{"group":"Audit logs","icon":"clock-rotate-left","pages":[{"title":"List audit logs","openapi":"bundled/audit-logs.yaml GET /audit_logs","href":"/api/audit-logs/list"}]},{"group":"IP restriction","icon":"shield","pages":[{"title":"Get IP restriction","openapi":"bundled/ip-restriction.yaml GET /ip_restriction","href":"/api/ip-restriction/show"}]},{"group":"Custom domains","icon":"globe","pages":[{"title":"List custom domains","openapi":"bundled/custom-domains.yaml GET /custom_domains","href":"/api/custom-domains/list"},{"title":"Get a custom domain","openapi":"bundled/custom-domains.yaml GET /custom_domains/{hostname}","href":"/api/custom-domains/show"},{"title":"Add a custom domain","openapi":"bundled/custom-domains.yaml POST /custom_domains","href":"/api/custom-domains/create"},{"title":"Remove a custom domain","openapi":"bundled/custom-domains.yaml DELETE /custom_domains/{hostname}","href":"/api/custom-domains/delete"}]},{"group":"API keys","icon":"key","pages":[{"title":"List API keys","openapi":"bundled/api-keys.yaml GET /api_keys","href":"/api/api-keys/list"},{"title":"Revoke an API key","openapi":"bundled/api-keys.yaml DELETE /api_keys/{id}","href":"/api/api-keys/delete"}]},{"group":"API v1 (deprecated)","icon":"triangle-exclamation","pages":[{"title":"List forms","openapi":"bundled-v1/forms.yaml GET /forms","href":"/api-reference-v1/forms/list"},{"title":"List submissions","openapi":"bundled-v1/submissions.yaml GET /forms/{form_id}/submissions","href":"/api-reference-v1/submissions/list"},{"title":"List team members","openapi":"bundled-v1/team-members.yaml GET /team_members","href":"/api-reference-v1/team-members/list"},{"title":"Add team members","openapi":"bundled-v1/team-members.yaml POST /team_members","href":"/api-reference-v1/team-members/add"},{"title":"Update team member","openapi":"bundled-v1/team-members.yaml PATCH /team_members/{team_member_id}","href":"/api-reference-v1/team-members/update"},{"title":"Remove team members","openapi":"bundled-v1/team-members.yaml DELETE /team_members","href":"/api-reference-v1/team-members/remove"}]}]},{"tab":"CLI","icon":"rectangle-terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/mcp/introduction"}]}]},"title":"Create a condition - NeetoForm Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}