Strip digital signatures from a PDF. MCP tool remove_signatures / HTTP POST /v1/signatures/remove.
Strip digital signatures from a PDF — useful when a signed document needs further editing, which would otherwise invalidate the signature anyway.
At a glance
Section titled “At a glance”| MCP tool | remove_signatures |
| HTTP endpoint | POST /v1/signatures/remove |
| Price | $0.05 |
| Input | One signed PDF |
| Output | The PDF with digital signatures removed |
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
file |
file | yes | Source PDF. |
MCP example
Section titled “MCP example”Remove the digital signatures from
https://example.com/signed.pdf.
{ "file": "https://example.com/signed.pdf"}HTTP example
Section titled “HTTP example”curl -i -X POST https://api.pdfasyougo.com/v1/signatures/remove \ -H "Content-Type: application/json" \ -H "X-PAYMENT: <base64-encoded-payment-payload>" \ -d '{"file":"https://example.com/signed.pdf"}'import { wrapFetchWithPayment } from 'x402-fetch';import { privateKeyToAccount } from 'viem/accounts';
const account = privateKeyToAccount(process.env.X402_WALLET_PRIVATE_KEY as `0x${string}`);const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay('https://api.pdfasyougo.com/v1/signatures/remove', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ file: 'https://example.com/signed.pdf' }),});console.log((await res.json()).output.url);Response
Section titled “Response”{ "output": { "url": "https://files.pdfasyougo.com/o/f0c6…?token=…", "expires_at": "2026-06-29T12:00:00Z", "pages": 5, "bytes": 52224 }, "operation": "signatures.remove", "cost": "0.05 USDC"}- Removes digital signature objects from the document; the visible page content is preserved.
- If the file has no signatures, the operation returns the document unchanged.