{"openapi":"3.0.3","info":{"title":"HidePDF Content — Hide sensitive data in PDFs","description":"Upload a PDF, review emails, phones, cards, country IDs (Aadhaar, PAN, UPI, SSN, and more), and optional amounts, then download a burned file with hidden text removed so it cannot be extracted. Amounts stay visible unless hide_amounts is set. Scanned pages use OCR. Playground is same-origin and does not need an API key.","version":"1.0.0","contact":{"name":"HidePDF Content","url":"https://hidepdfcontent.com","email":"hello@hidepdfcontent.com"},"x-category":"Data","x-website":"https://hidepdfcontent.com/home"},"servers":[{"url":"https://hidepdfcontent.com","description":"Production"}],"paths":{"/v1/health":{"get":{"summary":"Health check","security":[],"responses":{"200":{"description":"Service is healthy"}}}},"/v1/example":{"get":{"summary":"Example hide inspect response","description":"No file required. Returns a small inspect JSON sample so RapidAPI Hub testers can click Run without uploading a PDF.","security":[],"responses":{"200":{"description":"Sample inspect JSON"}}}},"/v1/hide-types":{"get":{"summary":"List hide types and countries","security":[],"responses":{"200":{"description":"Global types plus country ID catalog"}}}},"/v1/inspect":{"post":{"summary":"Find sensitive fields in a PDF","security":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Detected fields"}}}},"/v1/redact":{"post":{"summary":"Hide selected or all detected fields and remove the text","security":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"},"types":{"type":"string","description":"Comma-separated hide types. Include amount to hide money values."},"countries":{"type":"string","description":"Comma-separated country codes such as IN,US"},"item_ids":{"type":"string","description":"Comma-separated item IDs from inspect"},"hide_amounts":{"type":"boolean","description":"Set true to also hide amounts. Amounts stay visible by default."}}}}}},"responses":{"200":{"description":"PDF with hidden text removed"}}}}},"components":{"securitySchemes":{}},"security":[]}