Submissions
Operations related to form submissions
Page number (default: 1)
Items per page (default: 10)
Sort field (default: createdAt)
Sort direction (default: desc)
Comma-separated list of statuses to filter by
Returns a paginated list of submissions
No content
GET /api/submission HTTP/1.1
Host:
Accept: */*
Returns a paginated list of submissions
No content
Unique identifier for the submission
Submission name
ID of the associated template
ID of the user who uploaded the submission
ID of the user associated with the submission
Email address of the sender
Email body or additional context
Email message ID
Submission payload data
Manual payload data
Metadata payload
The submission has been successfully created
POST /api/submission HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 195
{
"id": "text",
"name": "text",
"templateId": 1,
"uploaderUserId": "text",
"userId": "text",
"emailSender": "text",
"emailBody": "text",
"emailMessageId": "text",
"payload": {},
"manualPayload": {},
"metaPayload": {}
}The submission has been successfully created
{
"id": "text",
"submissionNumber": 1,
"name": "text",
"template": {
"id": 1,
"templateId": "text",
"name": "text",
"description": "text",
"version": 1,
"schema": {},
"vendorSchemaName": "text",
"vendorSchemaVersion": 1,
"vendorSchema": {},
"dereferencedVendorSchema": {},
"aiGenerated": true,
"emailAlias": "text",
"extractionStrategyId": "text",
"extractionStrategy": {
"id": "text",
"identifier": "extraction-claude-3-7",
"type": "extraction",
"displayName": "text",
"description": "text",
"createdAt": "2025-12-05T22:20:07.895Z",
"updatedAt": "2025-12-05T22:20:07.895Z"
},
"referenceStrategy": {
"id": "text",
"identifier": "extraction-claude-3-7",
"type": "extraction",
"displayName": "text",
"description": "text",
"createdAt": "2025-12-05T22:20:07.895Z",
"updatedAt": "2025-12-05T22:20:07.895Z"
},
"state": "published",
"parsingInstructions": {}
},
"templateId": 1,
"uploaderUserId": "text",
"userId": "text",
"files": [
"text"
],
"status": "created",
"emailSender": "text",
"emailBody": "text",
"emailMessageId": "text",
"payload": {},
"manualPayload": {},
"metaPayload": {},
"OBEExtraction": "text",
"NBEExtraction": "text",
"createdAt": "2025-12-05T22:20:07.895Z",
"updatedAt": "2025-12-05T22:20:07.895Z"
}Submission ID
Unique identifier for the submission
Submission sequence number
Submission name
ID of the associated template
ID of the user who uploaded the submission
ID of the user associated with the submission
Current status of the submission
createdEmail address of the sender
Email body or additional context
Email message ID
Submission payload data
Manual payload data
Metadata payload
Timestamp when the submission was created
Timestamp when the submission was last updated
The submission has been successfully updated
PATCH /api/submission/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 313
{
"id": "text",
"submissionNumber": 1,
"name": "text",
"templateId": 1,
"uploaderUserId": "text",
"userId": "text",
"status": "created",
"emailSender": "text",
"emailBody": "text",
"emailMessageId": "text",
"payload": {},
"manualPayload": {},
"metaPayload": {},
"createdAt": "2025-12-05T22:20:07.895Z",
"updatedAt": "2025-12-05T22:20:07.895Z"
}The submission has been successfully updated
{
"id": "text",
"submissionNumber": 1,
"name": "text",
"templateId": 1,
"uploaderUserId": "text",
"userId": "text",
"status": "created",
"emailSender": "text",
"emailBody": "text",
"emailMessageId": "text",
"payload": {},
"manualPayload": {},
"metaPayload": {},
"createdAt": "2025-12-05T22:20:07.895Z",
"updatedAt": "2025-12-05T22:20:07.895Z"
}Submission ID to retrieve events for
Returns all events and their current status for the specified submission
Submission with ID 123e4567-e89b-12d3-a456-426614174001 not found
GET /api/submission/{id}/events HTTP/1.1
Host:
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"submissionId": "123e4567-e89b-12d3-a456-426614174001",
"type": "upload",
"state": "succeed",
"createdAt": "2023-01-01T12:00:00.000Z",
"updatedAt": "2023-01-01T12:30:00.000Z"
}
]Submission ID
Name of the file to upload
document.pdfMIME type of the file
application/pdfPOST /api/submission/{id}/upload HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"fileName": "document.pdf",
"contentType": "application/pdf"
}No content
Last updated
Was this helpful?