Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/pdfgate-com:pdfgate-com-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: PDFGate API
version: '2026-11-20'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-20: 36 operation(s) read from 13 public documentation page(s) (each
operation names its page in x-source). This is not the provider''s published contract; PDFGate has published no machine-readable contract
that the pipeline could find. Engine: local.'
x-evidence-tiers:
code-example: 14
documentation: 22
pages-with-code: 13
pages-read: 13
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-11-20'
x-generator: generate-contract-from-docs.py
x-engine: local
x-sources:
- https://pdfgate.com/api/flatten-pdf
- https://pdfgate.com/api/html-to-pdf
- https://pdfgate.com/api/protect-pdf
- https://pdfgate.com/api/compress-pdf
- https://pdfgate.com/api/watermark-pdf
- https://pdfgate.com/api/digital-signature
- https://pdfgate.com/api/extract-pdf-form-data
- https://pdfgate.com/documentation
- https://pdfgate.com/guides/digital-signature/getting-started
- https://pdfgate.com/guides/html-to-pdf/add-fillable-fields
- https://pdfgate.com/documentation/authentication
- https://pdfgate.com/documentation/rate-limits
- https://pdfgate.com/documentation/errors
servers:
- url: https://api.pdfgate.com
paths:
/:
get:
operationId: get
tags:
- Api
summary: GET /
x-source: https://pdfgate.com/documentation
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const response = await fetch("https://api.pdfgate.com/...", { 2 headers: { 3 Authorization:
"Bearer YOUR_API_KEY", 4 }, 5 }); PDFGate supports two types of API keys: API KEYS Production: live_xxxxxxxxxxxxxxx Sandbox: test_xxxxxxxxxxxxxxx
Use sandbox keys for testing purposes and production keys in your live environment. Rate limits Our API limits how many requests'
/...:
get:
operationId: get
tags:
- API
summary: GET /...
x-source: https://pdfgate.com/documentation
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: javascript
snippet: 'fetch("https://api.pdfgate.com/...", { 2 headers: { 3 Authorization: "Bearer YOUR_API_KEY", 4 }, 5 })'
/compress/pdf:
get:
operationId: get_compress_pdf
tags:
- Compress
summary: GET /compress/pdf
x-source: https://pdfgate.com/api/compress-pdf
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const fs = require ( "fs/promises" ); 2 3 ( async () => { 4 const form = new FormData ();
5 6 const bytes = await fs . readFile ( "YOUR_FILE.pdf" ); 7 const file = new File ([ bytes ], "YOUR_FILE.pdf" , { type: "application/pdf"
}); 8 form . append ( "file" , file ); 9 form . append ( "linearize" , "true" ); 10 11 const res = await fetch ( "https://api.pdfgate.com'
post:
operationId: post_compress_pdf
tags:
- Compress
summary: POST /compress/pdf
x-source: https://pdfgate.com/api/compress-pdf
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: code-example
language: javascript
snippet: 'fetch ( "https://api.pdfgate.com/compress/pdf" , { 12 method: "POST" , 13 body: form , 14 headers: { Authorization: "Bearer
YOUR_API_KEY" }, 15 })'
/document/{id}:
delete:
operationId: delete_document_id
tags:
- Document
summary: Deletes a specific document.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
get:
operationId: get_document_id
tags:
- Document
summary: Retrieves details of a specific document.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/envelope:
get:
operationId: get_envelope
tags:
- Envelope
summary: GET /envelope
x-source: https://pdfgate.com/api/digital-signature
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const fetch = require ( "node-fetch" ); 2 3 const options = { 4 method: "POST" , 5 headers:
{ 6 "Content-Type" : "application/json" , 7 "Authorization" : "Bearer YOUR_API_KEY" , 8 }, 9 body: JSON . stringify ({ 10 requesterName:
"John Doe" , 11 documents: [ 12 { 13 sourceDocumentId: "6642381c5c61" , 14 name: "Employment Agreement" , 15 recipients: [ 16 { 17 email:'
post:
operationId: post_envelope
tags:
- Envelope
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/envelope/{id}:
delete:
operationId: delete_envelope_id
tags:
- Envelope
summary: Deletes an envelope.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
get:
operationId: get_envelope_id
tags:
- Envelope
summary: Retrieves information about an envelope.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/envelope/{id}/embed-link:
post:
operationId: post_envelope_id_embed_link
tags:
- Envelope
summary: Generates an embed link for an envelope.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/envelope/{id}/send:
post:
operationId: post_envelope_id_send
tags:
- Envelope
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/envelope/{id}/void:
post:
operationId: post_envelope_id_void
tags:
- Envelope
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/file/{id}:
get:
operationId: get_file_id
tags:
- File
summary: Downloads a file associated with a document.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/forms/extract-data:
get:
operationId: get_forms_extract_data
tags:
- Forms
summary: GET /forms/extract-data
x-source: https://pdfgate.com/api/extract-pdf-form-data
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const fs = require ( "fs/promises" ); 2 3 ( async () => { 4 const form = new FormData ();
5 6 const bytes = await fs . readFile ( "YOUR_FILE.pdf" ); 7 const file = new File ([ bytes ], "YOUR_FILE.pdf" , { type: "application/pdf"
}); 8 form . append ( "file" , file ); 9 10 const res = await fetch ( "https://api.pdfgate.com/forms/extract-data" , { 11 method: "POST" '
post:
operationId: post_forms_extract_data
tags:
- Forms
summary: POST /forms/extract-data
x-source: https://pdfgate.com/api/extract-pdf-form-data
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: code-example
language: javascript
snippet: 'fetch ( "https://api.pdfgate.com/forms/extract-data" , { 11 method: "POST" , 12 body: form , 13 headers: { Authorization: "Bearer
YOUR_API_KEY" }, 14 })'
/forms/fields:
post:
operationId: post_forms_fields
tags:
- Forms
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/forms/flatten:
get:
operationId: get_forms_flatten
tags:
- Forms
summary: GET /forms/flatten
x-source: https://pdfgate.com/api/flatten-pdf
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const fs = require ( "fs/promises" ); 2 3 ( async () => { 4 const form = new FormData ();
5 6 const bytes = await fs . readFile ( "YOUR_FILE.pdf" ); 7 const file = new File ([ bytes ], "YOUR_FILE.pdf" , { type: "application/pdf"
}); 8 form . append ( "file" , file ); 9 10 form . append ( "jsonResponse" , "false" ); 11 form . append ( "metadata" , JSON . stringify '
post:
operationId: post_forms_flatten
tags:
- Forms
summary: POST /forms/flatten
x-source: https://pdfgate.com/api/flatten-pdf
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: code-example
language: javascript
snippet: 'fetch ( "https://api.pdfgate.com/forms/flatten" , { 17 method: "POST" , 18 body: form , 19 headers: { Authorization: "Bearer
YOUR_API_KEY" }, 20 })'
/generate/pdf:
post:
operationId: post_generate_pdf
tags:
- Generate
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/protect/pdf:
get:
operationId: get_protect_pdf
tags:
- Protect
summary: GET /protect/pdf
x-source: https://pdfgate.com/api/protect-pdf
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const fs = require ( "fs/promises" ); 2 3 ( async () => { 4 const form = new FormData ();
5 6 const bytes = await fs . readFile ( "YOUR_FILE.pdf" ); 7 const file = new File ([ bytes ], "YOUR_FILE.pdf" , { type: "application/pdf"
}); 8 form . append ( "file" , file ); 9 form . append ( "ownerPassword" , "ownerPassword" ); 10 form . append ( "userPassword" , "userPa'
post:
operationId: post_protect_pdf
tags:
- Protect
summary: POST /protect/pdf
x-source: https://pdfgate.com/api/protect-pdf
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: code-example
language: javascript
snippet: 'fetch ( "https://api.pdfgate.com/protect/pdf" , { 16 method: "POST" , 17 body: form , 18 headers: { Authorization: "Bearer YOUR_API_KEY"
}, 19 })'
/recipient:
post:
operationId: post_recipient
tags:
- Recipient
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/recipient/{id}:
delete:
operationId: delete_recipient_id
tags:
- Recipient
summary: Deletes a specific recipient.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
get:
operationId: get_recipient_id
tags:
- Recipient
summary: Retrieves details of a specific recipient.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
patch:
operationId: patch_recipient_id
tags:
- Recipient
summary: The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/recipient/{id}/signature:
delete:
operationId: delete_recipient_id_signature
tags:
- Recipient
summary: Deletes a signature for a recipient.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/recipient/{id}/signature/request:
post:
operationId: post_recipient_id_signature_request
tags:
- Recipient
summary: Creates a signature request for a recipient.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/recipients:
get:
operationId: get_recipients
tags:
- Recipients
summary: Retrieve list of recipients.
x-source: https://pdfgate.com/documentation
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/upload:
post:
operationId: post_upload
tags:
- Upload
summary: Uploads a file to the PDFGate service.
x-source: https://pdfgate.com/documentation
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/watermark/pdf:
get:
operationId: get_watermark_pdf
tags:
- Watermark
summary: GET /watermark/pdf
x-source: https://pdfgate.com/api/watermark-pdf
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON GO PHP JAVA C# RUBY 1 const fs = require ( "fs/promises" ); 2 3 ( async () => { 4 const form = new FormData ();
5 6 const bytes = await fs . readFile ( "YOUR_FILE.pdf" ); 7 const file = new File ([ bytes ], "YOUR_FILE.pdf" , { type: "application/pdf"
}); 8 form . append ( "file" , file ); 9 form . append ( ''type'' , ''text'' ); 10 form . append ( ''text'' , "My watermark!" ) 11 form
. appen'
post:
operationId: post_watermark_pdf
tags:
- Watermark
summary: POST /watermark/pdf
x-source: https://pdfgate.com/api/watermark-pdf
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: code-example
language: javascript
snippet: 'fetch ( "https://api.pdfgate.com/watermark/pdf" , { 18 method: "POST" , 19 body: form , 20 headers: { Authorization: "Bearer
YOUR_API_KEY" }, 21 })'
/webhook:
post:
operationId: post_webhook
tags:
- Webhook
summary: Creates a new webhook endpoint.
x-source: https://pdfgate.com/documentation
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/webhook/{id}:
delete:
operationId: delete_webhook_id
tags:
- Webhook
summary: Delete a webhook by its ID.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
get:
operationId: get_webhook_id
tags:
- Webhook
summary: Retrieve a webhook by its ID.
x-source: https://pdfgate.com/documentation
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/wiki/PDF:
get:
operationId: get_wiki_PDF
tags:
- Wiki
summary: GET /wiki/PDF
x-source: https://pdfgate.com/api/html-to-pdf
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: 'curl PYTHON PHP JAVA C# GO RUBY 1 import PdfGate from "pdfgate" ; 2 import {writeFile} from "node:fs/promises" ; 3 4 const client
= new PdfGate ( "YOUR_API_KEY" ); 5 6 const document = await client . generatePdf ({ 7 url: "https://en.wikipedia.org/wiki/PDF" , 8
pageSizeType: "a4" , 9 }); 10 11 const pdf = await client . getFile ({ documentId: document . id }); 12 await writeFile ( "output.pdf"
, p'
components:
securitySchemes:
bearer:
type: http
scheme: bearer
security:
- bearer: []
tags:
- name: API
- name: Api
- name: Compress
- name: Document
- name: Envelope
- name: File
- name: Forms
- name: Generate
- name: Protect
- name: Recipient
- name: Recipients
- name: Upload
- name: Watermark
- name: Webhook
- name: Wiki