naftiko: 1.0.0-alpha2 info: label: PDF.co Editing API description: PDF.co Editing API. Add text/images, search-and-replace, delete text. Self-contained Naftiko capability. tags: - PDF.co - Editing created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: PDFCO_API_KEY: PDFCO_API_KEY capability: consumes: - type: http namespace: editing baseUri: https://api.pdf.co description: PDF.co Editing business capability. resources: - name: edit-add path: /v1/pdf/edit/add operations: - {name: pdfAdd, method: POST, description: Add text, images, forms, and links to a PDF, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} - name: edit-replace-text path: /v1/pdf/edit/replace-text operations: - {name: replaceText, method: POST, description: Search and replace text in a PDF, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} - name: edit-replace-text-with-image path: /v1/pdf/edit/replace-text-with-image operations: - {name: replaceTextWithImage, method: POST, description: Replace text with an image, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} - name: edit-delete-text path: /v1/pdf/edit/delete-text operations: - {name: deleteText, method: POST, description: Delete text strings from a PDF, outputRawFormat: json, inputParameters: [{name: body, in: body, type: object, required: true}]} authentication: type: apikey key: x-api-key value: '{{env.PDFCO_API_KEY}}' placement: header