externalId. Each time you submit documents for the same externalId, a new upload is
added to the existing case. Credentials (extracted documents) accumulate across all uploads.
Create a case / add an upload
externalId already exists for your organization, the files are added as a new upload
to the existing case. If not, a new case is created.
Request fields
One or more document files. Accepted formats: PDF, PNG, JPG, JPEG, WebP, ZIP.
Up to 20 files per request. Max 30 MB per file, 40 MB total payload.
Files inside a ZIP that are not of a supported type will appear in the upload’s
files[]
list but will not be processed. PDFs are limited to 130 pages.Your reference for this case — the candidate ID, application number, or any identifier
that maps to a person in your system. Unique per organization. Subsequent submissions
with the same
externalId append to the existing case.Which capabilities to run on this upload. Valid values:
"extraction", "forensics",
"translation". Defaults to all three when omitted.Whether to run AI document classification. When
true (default), TruEnroll analyses the
uploaded files and splits them into credentials — one per education qualification
identified. Set to false only if you know the document type in advance.
Note: forensics requires classify: true.Arbitrary key-value pairs attached to the case. Values must be strings, numbers, or booleans.
Example
Response fields
Always
true on a successful response.Human-readable confirmation, e.g.
"Upload accepted".Get a case
Path parameters
TruEnroll case ID (
caseId) returned when the case was created.Response fields
List cases
Query parameters
Filter by your external reference.
Number of results per page. Default:
20, max: 100.Number of results to skip for pagination. Default:
0.Delete a case
GET requests return
404. A deleted case cannot receive new uploads — submitting the same externalId after
deletion returns 409 Conflict.
Path parameters
TruEnroll case ID.
204 No Content on success.
Error codes
| Code | Reason |
|---|---|
400 | Missing files, unsupported format, classify: false with forensics, or invalid JSON |
401 | No API key or malformed key |
403 | Key is not a partner key, or organization lacks a requested feature |
404 | Case not found or deleted |
409 | Submitting to a deleted case |
413 | Per-file (30 MB) or total payload (40 MB) size limit exceeded |
Features & limits
Full details on upload constraints and feature capability requirements.