API V2

Classify Document

Classify or Identify documents based on the file content.

  • Method: POST
  • Endpoint: /api/v2/ClassifyDocument

Parameters

File contentbase64, Required

Map the PDF file content from the source action

File Namestring, Required

Source PDF file name with .pdf extension

Output

File ContentBinary, Required

File content of the compressed document

File NameString, Required

The file name of the output document

Header
Content-Type:application/json
Authorization: Please copy key from the link.

Payload

{
  "docContent": "Please put PDF base64 content",
  "docName": "output.pdf"
}

PDF4me api samples

CSharp(C#)
Java
JavaScript
Python
Salesforce
n8n
Google Script
AWS Lambda