curl --request POST \
--url https://api.meshqu.com/v1/forms/{formId}/submit \
--header 'Content-Type: application/json' \
--data '
{
"fields": {},
"password": "<string>",
"identifier_value": "<string>"
}
'import requests
url = "https://api.meshqu.com/v1/forms/{formId}/submit"
payload = {
"fields": {},
"password": "<string>",
"identifier_value": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({fields: {}, password: '<string>', identifier_value: '<string>'})
};
fetch('https://api.meshqu.com/v1/forms/{formId}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meshqu.com/v1/forms/{formId}/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'fields' => [
],
'password' => '<string>',
'identifier_value' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meshqu.com/v1/forms/{formId}/submit"
payload := strings.NewReader("{\n \"fields\": {},\n \"password\": \"<string>\",\n \"identifier_value\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.meshqu.com/v1/forms/{formId}/submit")
.header("Content-Type", "application/json")
.body("{\n \"fields\": {},\n \"password\": \"<string>\",\n \"identifier_value\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meshqu.com/v1/forms/{formId}/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"fields\": {},\n \"password\": \"<string>\",\n \"identifier_value\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"decision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context": {},
"result": {},
"chain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chain_step": 123,
"parent_decision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chain_integrity_hash": "<string>",
"chain_signature": "<string>",
"chain_signature_kid": "<string>",
"chain_signature_algorithm": "<string>",
"evaluated_policies": [
{
"policy_id": "<string>",
"policy_code": "<string>",
"policy_name": "<string>",
"version": 123,
"shadow_mode": true,
"policy_group_id": "<string>",
"policy_group_code": "<string>",
"rules": [
{
"code": "<string>",
"name": "<string>"
}
]
}
],
"verification_url": "<string>",
"actor": {
"id": "<string>",
"type": "human",
"role": "<string>",
"authority": "<string>",
"display_name": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}Submit form (public)
Evaluates form fields against the policy and returns a signed receipt.
curl --request POST \
--url https://api.meshqu.com/v1/forms/{formId}/submit \
--header 'Content-Type: application/json' \
--data '
{
"fields": {},
"password": "<string>",
"identifier_value": "<string>"
}
'import requests
url = "https://api.meshqu.com/v1/forms/{formId}/submit"
payload = {
"fields": {},
"password": "<string>",
"identifier_value": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({fields: {}, password: '<string>', identifier_value: '<string>'})
};
fetch('https://api.meshqu.com/v1/forms/{formId}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.meshqu.com/v1/forms/{formId}/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'fields' => [
],
'password' => '<string>',
'identifier_value' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meshqu.com/v1/forms/{formId}/submit"
payload := strings.NewReader("{\n \"fields\": {},\n \"password\": \"<string>\",\n \"identifier_value\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.meshqu.com/v1/forms/{formId}/submit")
.header("Content-Type", "application/json")
.body("{\n \"fields\": {},\n \"password\": \"<string>\",\n \"identifier_value\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meshqu.com/v1/forms/{formId}/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"fields\": {},\n \"password\": \"<string>\",\n \"identifier_value\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"decision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context": {},
"result": {},
"chain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chain_step": 123,
"parent_decision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chain_integrity_hash": "<string>",
"chain_signature": "<string>",
"chain_signature_kid": "<string>",
"chain_signature_algorithm": "<string>",
"evaluated_policies": [
{
"policy_id": "<string>",
"policy_code": "<string>",
"policy_name": "<string>",
"version": 123,
"shadow_mode": true,
"policy_group_id": "<string>",
"policy_group_code": "<string>",
"rules": [
{
"code": "<string>",
"name": "<string>"
}
]
}
],
"verification_url": "<string>",
"actor": {
"id": "<string>",
"type": "human",
"role": "<string>",
"authority": "<string>",
"display_name": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
},
"correlation_id": "<string>"
}Path Parameters
Form UUID
Body
Field values to evaluate
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Password for password-protected forms
Value for the form identifier field (e.g., invoice number)
500Decision chain linkage for workflow traceability
Show child attributes
Show child attributes
Actor attribution — who or what made this decision
Show child attributes
Show child attributes
Response
Default Response
Full decision context (needed for integrity hash verification)
Show child attributes
Show child attributes
Full evaluation result (needed for integrity hash verification)
Show child attributes
Show child attributes
Chain ID if this decision is part of a decision chain
Step number within the chain
Parent decision within the same chain
Policies evaluated in this decision (populated for group evaluations)
Show child attributes
Show child attributes
Actor attribution — who or what made this decision
Show child attributes
Show child attributes