Send Multipart Form Data to Cryvis from Make.com
Cryvis multipart field names for Make.com HTTP: file, passport first_page/last_page, RC front/back, driver-license country, and custom extractors.
Every Cryvis extraction call is multipart/form-data. Make’s HTTP module must use Body type: Multipart/form-data with the exact field names each endpoint documents. Wrong names look like “missing file” even when the binary mapping is correct.
Hub: Make.com + Cryvis. Binary mapping: Upload file to API.
HTTP module baseline
Method: POST
Body type: Multipart/form-data
Header: Authorization: Bearer <API_KEY>
Fields: (see tables below)Base host: https://api.cryvis.com. MIME for files: PDF, JPEG, PNG, WebP. Credits: 1 per page/image.
Single-file file endpoints
| API | URL | Fields |
|---|---|---|
| Invoice | /v1/documents/invoice | file (File) |
| Receipt | /v1/documents/receipt | file (File), 1–20 |
| PAN | /v1/documents/pan | file (File) |
| Custom | /v1/custom-extractors/<slug> | file (File) |
Make: one multipart row, name file, type File, data = Buffer.
Receipt tip: multiple file parts in one request return results[] instead of a single data object (parse responses).
Product links: Invoice, Receipt, PAN, Custom.
Aadhaar — up to two file parts
URL: /v1/documents/aadhaar
Add one or two multipart fields both named file (front and/or back). Make allows duplicate field names in multipart for this pattern.
Passport — first_page + last_page
URL: /v1/documents/passport
| Field | Required | Content |
|---|---|---|
first_page | yes | Biodata page image/PDF |
last_page | yes | Secondary / MRZ page |
There is no file field on passport. Mapping a single PDF into file will fail.
HTTP multipart:
first_page = <binary A>
last_page = <binary B>Indian vehicle RC — front + back
URL: /v1/documents/indian-vehicle-rc
| Field | Required | Notes |
|---|---|---|
front | recommended | RC front |
back | recommended | RC back |
Send one or both; both sides produce the most complete merge. Field names are front / back, not file.
Driver’s license — file + country
URL: /v1/documents/driver-license
| Field | Type | Notes |
|---|---|---|
file | File | License image/PDF |
country | Text | ISO 3166-1 alpha-3 (e.g. USA, IND) |
Missing country → MISSING_COUNTRY (400). Unsupported code → UNSUPPORTED_COUNTRY (404).
Custom extractors
URL: /v1/custom-extractors/<slug>
Only file. Schema lives in Console; Make does not send the schema on each call. Docs: Custom extractors. Build guide: Build custom extractor.
ASCII cheat sheet
invoice/receipt/pan/custom → file
aadhaar → file [, file]
passport → first_page + last_page
indian-vehicle-rc → front + back
driver-license → file + countryMake UI tips
- Field name must match exactly (case-sensitive).
- File fields: type File; text fields (
country): type Text. - Do not set raw Body to JSON when uploading documents.
- After a successful call, inspect the HTTP module output once before building Sheets mappings.
Full invoice walkthrough: Send PDF to OCR API. Auth: Bearer authentication. Errors: Handle API errors.
Checklist
- Body type is Multipart/form-data
- Field names match the endpoint table
- Passport/RC not using
file - Driver license includes
country - Custom URL includes the real slug