API ReferenceSubmissions
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication. Pass your ioZen API key as a Bearer token in the Authorization header.
In: header
Path Parameters
id*string
Intake bot ID
Request Body
application/json
Submission field values and options
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
A simple submission with common text fields.
curl -X POST "https://app.iozen.ai/api/v1/intake-bots/cm7abc12x0001yz9k8mno3pqr/submissions" \ -H "Content-Type: application/json" \ -d '{ "data": { "full_name": "Jane Doe", "email": "jane@example.com", "company": "Acme Corp" }, "status": "COMPLETED", "is_test": false }'{
"success": true,
"data": {
"submission": {
"id": "string",
"status": "string",
"created_at": "string"
}
}
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Validation failed",
"details": {}
}
}{
"success": false,
"error": {
"code": "authentication_required",
"message": "Missing or invalid API key",
"details": {}
}
}{
"success": false,
"error": {
"code": "insufficient_scopes",
"message": "API key lacks required scopes for this endpoint",
"details": {}
}
}{
"success": false,
"error": {
"code": "resource_not_found",
"message": "Resource not found",
"details": {}
}
}{
"success": false,
"error": {
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded",
"details": {}
}
}{
"success": false,
"error": {
"code": "internal_error",
"message": "An internal error occurred",
"details": {}
}
}