curl --request POST \
--url https://api.example.com/api/v1/forms/submit \
--header 'Content-Type: application/json' \
--data '
{
"formId": "<string>",
"data": {
"email": "<string>",
"[fieldName]": {}
},
"redirectUrl": "<string>"
}
'{
"success": true,
"message": "<string>",
"submissionId": "<string>",
"redirect": {
"url": "<string>",
"allowed": true,
"reason": "<string>"
}
}Submit data to a form and trigger configured notifications and workflows
curl --request POST \
--url https://api.example.com/api/v1/forms/submit \
--header 'Content-Type: application/json' \
--data '
{
"formId": "<string>",
"data": {
"email": "<string>",
"[fieldName]": {}
},
"redirectUrl": "<string>"
}
'{
"success": true,
"message": "<string>",
"submissionId": "<string>",
"redirect": {
"url": "<string>",
"allowed": true,
"reason": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/artistatbl/Mantlz/llms.txt
Use this file to discover all available pages before exploring further.
X-API-Key headerAuthorization: Bearer <api_key> headerapplication/json - For standard form datamultipart/form-data - For forms with file uploadsX-RateLimit-Limit: Maximum number of requests allowedX-RateLimit-Remaining: Number of requests remaining in the current windowX-RateLimit-Reset: Unix timestamp when the rate limit resetsmultipart/form-data content typeFile or Blob objects400 - Bad Request: Invalid parameters or missing required fields401 - Unauthorized: Invalid or inactive API key403 - Forbidden: Form does not belong to the API key owner404 - Not Found: Form not found429 - Too Many Requests: Rate limit exceeded500 - Internal Server Error: File upload failure or server errorcurl -X POST "https://api.mantlz.app/api/v1/forms/submit" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"formId": "clx1234567890abcdef",
"data": {
"email": "user@example.com",
"name": "John Doe",
"message": "This is a test submission"
},
"redirectUrl": "https://yoursite.com/thank-you"
}'
{
"success": true,
"message": "Form submitted successfully",
"submissionId": "clx9876543210zyxwvu",
"redirect": {
"url": "https://yoursite.com/thank-you",
"allowed": true
}
}
{
"success": true,
"message": "Form submitted successfully",
"submissionId": "clx9876543210zyxwvu",
"redirect": {
"url": "https://mantlz.app/thank-you",
"allowed": false,
"reason": "Custom redirects require STANDARD or PRO plan"
}
}
{
"message": "Too many requests, please try again later.",
"limit": 10,
"reset": 1709567890,
"remaining": 0
}
email field in submission data is used for confirmation emails