Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

password-protect-pdf

bởi crossservicesolutions

PDF & Documents
845Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Add password protection to a PDF by uploading it to the Solutions API, polling until completion, then returning.

Mô tả

Kỹ năng này làm gì

Adds password protection to a PDF by uploading it to the Cross-Service Solutions API, polling until the job completes, and returning a download URL for the protected file. Requires an API key from Cross-Service Solutions.

Handles the full upload-poll-download cycle automatically, so users get a protected file without manually managing API calls or job status checks.

Khi nào nên dùng

  • Locking a contract PDF before sending to a client
  • Protecting a confidential report shared over email
  • Adding a password to a scanned document before archiving
  • Securing an invoice PDF with a recipient-specific password
  • Restricting access to a sensitive form before distribution

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Password-protect this report.pdf with the password Tr0ub4dor'

AGENT
  1. 1

    Accepts the PDF file and password from the user

  2. 2

    Sends a POST request to /api/32 with the file and userPass as multipart/form-data

  3. 3

    Receives a job ID from the API response

  4. 4

    Polls GET /api/<ID> until status indicates completion

  5. 5

    Returns the download URL for the protected PDF

ĐẦU RA

{"job_id": 321, "status": "done", "download_url": "https://.../protected.pdf", "file_name": "protected.pdf"}

Yêu cầu

  • Cross-Service Solutions API key (obtain at https://login.cross-service-solutions.com/register)

Cài đặt

clawhub install crossservicesolutions/password-protect-pdf

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết