← 返回
开发者工具 Key 中文

Protect PDF with password

Add password protection to a PDF by uploading it to the Solutions API, polling until completion, then returning a download URL for the protected PDF.
上传 PDF 至 Solutions API 添加密码保护,轮询直至完成,并返回受保护 PDF 的下载链接。
crossservicesolutions
开发者工具 clawhub v1.0.0 1 版本 99799.3 Key: 需要
★ 0
Stars
📥 1,492
下载
💾 55
安装
1
版本
#latest

概述

password-protect-pdf

Purpose

This skill password-protects a PDF by:

1) accepting a PDF file from the user,

2) accepting a password from the user,

3) uploading both to the Solutions API,

4) polling the job status until it is finished,

5) returning the download URL for the password-protected PDF.

Credentials

The API requires an API key used as a Bearer token:

  • Authorization: Bearer

How the user gets an API key:

  • https://login.cross-service-solutions.com/register
  • Or the user can provide an API key directly.

Rule: never echo or log the API key.

API endpoints

Base URL:

  • https://api.xss-cross-service-solutions.com/solutions/solutions

Create password-protect job:

  • POST /api/32
  • multipart/form-data parameters:
  • file (PDF-Datei) — required — PDF file
  • userPass (Passwort) — required — string password

Get result by ID:

  • GET /api/

When done, the response contains:

  • output.files[] with { name, path } where path is a downloadable URL.

Inputs

Required

  • PDF file (binary)
  • Password (userPass, string)
  • API key (string)

Optional

  • None

Output

Return a structured result:

  • job_id (number)
  • status (string)
  • download_url (string, when done)
  • file_name (string, when available)

Example output:

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 23:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Compress PDF

crossservicesolutions
通过将用户提供的 PDF 上传至 Cross‑Service‑Solutions 进行压缩,轮询直至完成,随后返回压缩文件的下载链接。
★ 1 📥 2,389
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,200
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,188