← Back to blog

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

APIURLFields
Invoice/v1/documents/invoicefile (File)
Receipt/v1/documents/receiptfile (File), 1–20
PAN/v1/documents/panfile (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.

Aadhaar API.

Passport — first_page + last_page

URL: /v1/documents/passport

FieldRequiredContent
first_pageyesBiodata page image/PDF
last_pageyesSecondary / 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>

Passport API.

Indian vehicle RC — front + back

URL: /v1/documents/indian-vehicle-rc

FieldRequiredNotes
frontrecommendedRC front
backrecommendedRC back

Send one or both; both sides produce the most complete merge. Field names are front / back, not file.

Indian vehicle RC API.

Driver’s license — file + country

URL: /v1/documents/driver-license

FieldTypeNotes
fileFileLicense image/PDF
countryTextISO 3166-1 alpha-3 (e.g. USA, IND)

Missing countryMISSING_COUNTRY (400). Unsupported code → UNSUPPORTED_COUNTRY (404).

Driver’s license API.

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 + country

Make UI tips

  1. Field name must match exactly (case-sensitive).
  2. File fields: type File; text fields (country): type Text.
  3. Do not set raw Body to JSON when uploading documents.
  4. 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