API V2

Extract Attachment From PDF

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

Parameters

docNamestring, Required

Source PDF file name with .pdf extension.

docContentbase64, Required

Map the PDF file content from the source action.

Attachment

docNameString, Required

Source PDF file name with .pdf extension.

docContentbase64, Required

Map the PDF file content from the source action.

Output

File ContentBinary

Output file content from the PDF4me Connect

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

Payload

{
  "docName": "output.pdf",
  "docContent": "Please put PDF base64 content",
  "attachments": [
    {
      "docName": "output.txt",
      "docContent": "Please put text base64 content"
    }
  ]
}

PDF4me api samples

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