The PDFGate API provides a set of HTTP endpoints for working with PDF documents, with a focus on digital signatures. You can sign documents and manage document workflows, along with generating PDFs from HTML or URLs and processing existing files.
All requests are authenticated using an API key and return JSON responses using standard HTTP status codes.
PDFGate offers a sandbox environment for testing your integration without affecting production data. The environment is determined by the request URL, and your API key must match the selected environment.
Each request operates on a single document or resource.
All API requests must be authenticated using an API key. Authentication is handled via the Authorization header in your HTTP requests.
To get started, log in to your PDFGate account and create an API key from the Settings page in the dashboard. Ensure the key is active before using it in your code.
1const response = await fetch("https://api.pdfgate.com/...", {2 headers: {3 Authorization: "Bearer YOUR_API_KEY",4 },5});PDFGate supports two types of API keys:
Use sandbox keys for testing purposes and production keys in your live environment.
Our API limits how many requests you can run at the same time. The limit applies to each endpoint separately. Every endpoint has its own counter, so reaching the limit on one endpoint does not affect the others.
In the production environment the limit depends on your account type. During the 14-day trial the trial limits apply regardless of the plan you selected, and your plan limits take effect once the subscription is activated. In the sandbox environment the limits are the same for all account types.
The PDFGate API uses standard HTTP status codes to indicate whether a request was successful or failed. Error responses include a message and additional details to help identify and resolve the issue.
If a request fails, review the response body for error information and ensure your request parameters, authentication, and API usage are correct.