微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚠️

安全高效的电子签名管家

SignNow · v1.0.3
专业技能 安全 A 级 作者 byungkyu 公开目录收录
3.4k 下载 3 安装 10.8k 收藏 18 浏览

简介

基于Maton网关托管OAuth的SignNow电子签名技能,用于发送、签署和管理文档,自动处理繁琐的签名流程以提升效率。

原始描述

SignNow API integration with managed OAuth. E-signature platform for sending, signing, and managing documents. Use this skill when users want to upload docum...

通过你的 Agent 添加

安装目录:signnow/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/signnow/
Codex CLI~/.codex/skills/signnow/
DeepSeek Harness~/.agents/skills/signnow/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

SignNow 技能综合评估

核心用法

该技能为纯 Markdown 文档,提供了通过 Maton 代理网关访问 SignNow 电子签名服务的完整 API 参考。用户可通过配置 MATON_API_KEY 环境变量,以标准的 HTTP 请求(如 Python、JavaScript)管理 OAuth 连接、上传 PDF 文档、发送签名邀请、创建和复用模板、合并文档、管理文件夹,并配置 Webhook 事件订阅(如 document.complete)。其核心价值在于将 SignNow 的 API 调用进行了封装和 OAuth 托管,旨在简化智能体(Agent)对电子签名工作流的自动化编程调用。

显著优点

  1. 详尽的可操作性文档:它是一份高质量、可直接执行的 API 文档,提供了完整的请求/响应示例和错误处理指南,降低了开发者和智能体的集成门槛。
  2. 托管式身份验证:通过 Maton 网关自动处理复杂的 OAuth 令牌注入与刷新,使用者无需自行管理 OAuth 流程,可以专注于业务逻辑。
  3. 功能覆盖面广:涵盖了文档全生命周期管理(上传、下载、移动、合并、删除)、模板系统、签名邀请、签署链接和事件驱动回调,足够支撑复杂的电子签名业务场景。
  4. 无外部依赖与可执行风险:作为纯 Markdown 文件,没有引入任何第三方代码库、恶意脚本或可执行文件,不会直接对运行环境造成代码层面的安全威胁。

潜在缺点或局限性

  1. 第三方数据代理风险:所有 API 流量必须经过 api.maton.ai 中转,这意味着文档内容、签约人身份、签名数据等高度敏感信息在 Maton 服务端对开发者可见,带来了显著的数据保密性隐患。
  2. 高来源可信度风险(T3):该技能由个人开发者通过社区平台发布,无公开 GitHub 仓库、代码审计记录或社区背书,Maton 服务本身也无公开技术验证,存在供应链脆弱性。
  3. 合规性缺失:文档中未包含开源许可证和数据处理隐私声明,用户对其修改、分发权利及数据留存、删除策略不清晰,存在法律与合规风险。
  4. 依赖外部服务稳定性:技能功能严重依赖 Maton 网关的可用性和性能,一旦 Maton 服务中断或关停,此技能将完全失效。

适合的目标群体

  • 对电子签名有自动化需求的个人开发者或小型团队,他们愿意接受 T3 来源风险以换取便捷性。
  • 需要通过脚本或 Agent 批量处理非高度敏感合同/文件的场景,例如内部审批、常规协议签署。
  • 不希望从零开始构建 OAuth 鉴权流程、希望快速验证 SignNow API 能力的原型开发者。

技术局限性

  • 网关依赖瓶颈:所有请求都经过单一网关(api.maton.ai),可能引入额外的网络延迟,并受限于 SignNow 的开发模式速率限制(500 请求/小时)。
  • 功能受限于代理:部分高级功能(如自定义邮件主题)依赖付费订阅,若网关未完整透传能力,可能导致功能不可用。
  • 不可控的 OAuth 令牌安全:令牌由 Maton 注入,其存储和传输安全策略不透明,存在凭证泄露的潜在风险。

总结:此技能为便捷但高风险的工具。其简洁明了、功能强大的文档风格值得肯定,但使用者必须清楚地认识到将法律签署流程的数据控制权委托给未经审计的第三方代理(T3 来源)所带来的重大安全与合规风险。建议在处理任何包含敏感信息或具有法律效力文件前,寻求更直接的官方集成方案。

技能正文


name: signnow description: | SignNow API integration with managed OAuth. E-signature platform for sending, signing, and managing documents. Use this skill when users want to upload documents, send signature invites, create templates, or manage e-signature workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. metadata: author: maton version: "1.0" clawdbot: emoji: 🧠 requires: env: - MATON_API_KEY

SignNow

Access the SignNow API with managed OAuth authentication. Upload documents, send signature invites, manage templates, and automate e-signature workflows.

Quick Start

# Get current user info
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/signnow/user')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://api.maton.ai/signnow/{resource}

Maton proxies requests to api.signnow.com and automatically injects your OAuth token.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your SignNow OAuth connections at https://api.maton.ai.

List Connections

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections?app=signnow&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'signnow'}).encode()
req = urllib.request.Request('https://api.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "{connection_id}",
    "status": "ACTIVE",
    "creation_time": "2026-02-08T20:47:23.019763Z",
    "last_updated_time": "2026-02-08T20:50:32.210896Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "signnow",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple SignNow connections, specify which one to use with the Maton-Connection header:

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/signnow/user')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If you have multiple connections, always include this header to ensure requests go to the intended account.

Security & Permissions

  • Access is scoped to documents, templates, signing invites, and folders within the connected SignNow account.
  • All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.

API Reference

User Operations

Get Current User
GET /signnow/user

Response:

{
  "id": "59cce130e93a4e9488522ca67e3a6779f3e48a72",
  "first_name": "Chris",
  "last_name": "Kim",
  "active": "1",
  "verified": true,
  "emails": ["chris@example.com"],
  "primary_email": "chris@example.com",
  "document_count": 0,
  "subscriptions": [...],
  "teams": [...],
  "organization": {...}
}
Get User Documents
GET /signnow/user/documents

Response:

[
  {
    "id": "c63a7bc73f03449c987bf0feaa36e96212408352",
    "document_name": "Contract",
    "page_count": "3",
    "created": "1770598603",
    "updated": "1770598603",
    "original_filename": "contract.pdf",
    "owner": "chris@example.com",
    "template": false,
    "roles": [],
    "field_invites": [],
    "signatures": []
  }
]

Document Operations

Upload Document

Documents must be uploaded as multipart form data with a PDF file:

python <<'EOF'
import urllib.request, os, json

def encode_multipart_formdata(files):
    boundary = '----WebKitFormBoundary7MA4YWxkTrZu0gW'
    lines = []
    for (key, filename, content) in files:
        lines.append(f'--{boundary}'.encode())
        lines.append(f'Content-Disposition: form-data; name="{key}"; filename="{filename}"'.encode())
        lines.append(b'Content-Type: application/pdf')
        lines.append(b'')
        lines.append(content)
    lines.append(f'--{boundary}--'.encode())
    lines.append(b'')
    body = b'\r\n'.join(lines)
    content_type = f'multipart/form-data; boundary={boundary}'
    return content_type, body

with open('document.pdf', 'rb') as f:
    file_content = f.read()

content_type, body = encode_multipart_formdata([('file', 'document.pdf', file_content)])
req = urllib.request.Request('https://api.maton.ai/signnow/document', data=body, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', content_type)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "id": "c63a7bc73f03449c987bf0feaa36e96212408352"
}
Get Document
GET /signnow/document/{document_id}

Response:

{
  "id": "c63a7bc73f03449c987bf0feaa36e96212408352",
  "document_name": "Contract",
  "page_count": "3",
  "created": "1770598603",
  "updated": "1770598603",
  "original_filename": "contract.pdf",
  "owner": "chris@example.com",
  "template": false,
  "roles": [],
  "viewer_roles": [],
  "attachments": [],
  "fields": [],
  "signatures": [],
  "texts": [],
  "checks": []
}
Update Document
PUT /signnow/document/{document_id}
Content-Type: application/json

{
  "document_name": "Updated Contract Name"
}

Response:

{
  "id": "c63a7bc73f03449c987bf0feaa36e96212408352",
  "signatures": [],
  "texts": [],
  "checks": []
}
Download Document
GET /signnow/document/{document_id}/download?type=collapsed

Returns the PDF file as binary data.

Query parameters:

  • type - Download type: collapsed (flattened PDF), zip (all pages as images)
Get Document History
GET /signnow/document/{document_id}/historyfull

Response:

[
  {
    "unique_id": "c4eb89d84b2b407ba8ec1cf4d25b8b435bcef69d",
    "user_id": "59cce130e93a4e9488522ca67e3a6779f3e48a72",
    "document_id": "c63a7bc73f03449c987bf0feaa36e96212408352",
    "email": "chris@example.com",
    "created": 1770598603,
    "event": "created_document"
  }
]
Move Document to Folder
POST /signnow/document/{document_id}/move
Content-Type: application/json

{
  "folder_id": "5e2798bdd3d642c3aefebe333bb5b723d6db01a4"
}

Response:

{
  "result": "success"
}
Merge Documents

Combines multiple documents into a single PDF:

POST /signnow/document/merge
Content-Type: application/json

{
  "name": "Merged Document",
  "document_ids": ["doc_id_1", "doc_id_2"]
}

Returns the merged PDF as binary data.

Delete Document
DELETE /signnow/document/{document_id}

Response:

{
  "status": "success"
}

Template Operations

Create Template from Document
POST /signnow/template
Content-Type: application/json

{
  "document_id": "c63a7bc73f03449c987bf0feaa36e96212408352",
  "document_name": "Contract Template"
}

Response:

{
  "id": "47941baee4f74784bc1d37c25e88836fc38ed501"
}
Create Document from Template
POST /signnow/template/{template_id}/copy
Content-Type: application/json

{
  "document_name": "New Contract from Template"
}

Response:

{
  "id": "08f5f4a2cc1a4d6c8a986adbf90be2308807d4ae",
  "name": "New Contract from Template"
}

Signature Invite Operations

Send Freeform Invite

Send a document for signature:

POST /signnow/document/{document_id}/invite
Content-Type: application/json

{
  "to": "signer@example.com",
  "from": "sender@example.com"
}

Response:

{
  "result": "success",
  "id": "c38a57f08f2e48d98b5de52f75f7b1dd0a074c00",
  "callback_url": "none"
}

Note: Custom subject and message require a paid subscription plan.

Create Signing Link

Create an embeddable signing link (requires document fields):

POST /signnow/link
Content-Type: application/json

{
  "document_id": "c63a7bc73f03449c987bf0feaa36e96212408352"
}

Note: Document must have signature fields added before creating a signing link.

Folder Operations

Get All Folders
GET /signnow/folder

Response:

{
  "id": "2ea71a3a9d06470d8e5ec0df6122971f47db7706",
  "name": "Root",
  "system_folder": true,
  "folders": [
    {
      "id": "5e2798bdd3d642c3aefebe333bb5b723d6db01a4",
      "name": "Documents",
      "document_count": "5",
      "template_count": "2"
    },
    {
      "id": "fafdef6de6d947fc84627e4ddeed6987bfeee02d",
      "name": "Templates",
      "document_count": "0",
      "template_count": "3"
    },
    {
      "id": "6063688b1e724a25aa98befcc3f2cb7795be7da1",
      "name": "Trash Bin",
      "document_count": "0"
    }
  ],
  "total_documents": 0,
  "documents": []
}
Get Folder by ID
GET /signnow/folder/{folder_id}

Response:

{
  "id": "5e2798bdd3d642c3aefebe333bb5b723d6db01a4",
  "name": "Documents",
  "user_id": "59cce130e93a4e9488522ca67e3a6779f3e48a72",
  "parent_id": "2ea71a3a9d06470d8e5ec0df6122971f47db7706",
  "system_folder": true,
  "folders": [],
  "total_documents": 5,
  "documents": [...]
}

Webhook (Event Subscription) Operations

List Event Subscriptions
GET /signnow/event_subscription

Response:

{
  "subscriptions": [
    {
      "id": "b1d6700dfb0444ed9196e913b2515ae8d5f731a7",
      "event": "document.complete",
      "created": "1770598678",
      "callback_url": "https://example.com/webhook"
    }
  ]
}
Create Event Subscription
POST /signnow/event_subscription
Content-Type: application/json

{
  "event": "document.complete",
  "callback_url": "https://example.com/webhook"
}

Response:

{
  "id": "b1d6700dfb0444ed9196e913b2515ae8d5f731a7",
  "created": 1770598678
}

Available Events:

  • document.create - Document created
  • document.update - Document updated
  • document.delete - Document deleted
  • document.complete - Document signed by all parties
  • invite.create - Invite sent
  • invite.update - Invite updated
Delete Event Subscription
DELETE /signnow/event_subscription/{subscription_id}

Response:

{
  "id": "b1d6700dfb0444ed9196e913b2515ae8d5f731a7",
  "status": "deleted"
}

Code Examples

JavaScript

const response = await fetch(
  'https://api.maton.ai/signnow/user',
  {
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`
    }
  }
);
const data = await response.json();

Python

import os
import requests

response = requests.get(
    'https://api.maton.ai/signnow/user',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'}
)
data = response.json()

Python (Upload Document)

import os
import requests

with open('document.pdf', 'rb') as f:
    response = requests.post(
        'https://api.maton.ai/signnow/document',
        headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
        files={'file': ('document.pdf', f, 'application/pdf')}
    )
doc = response.json()
print(f"Uploaded document: {doc['id']}")

Python (Send Invite)

import os
import requests

doc_id = "c63a7bc73f03449c987bf0feaa36e96212408352"
response = requests.post(
    f'https://api.maton.ai/signnow/document/{doc_id}/invite',
    headers={
        'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
        'Content-Type': 'application/json'
    },
    json={
        'to': 'signer@example.com',
        'from': 'sender@example.com'
    }
)
result = response.json()
print(f"Invite sent: {result['id']}")

Notes

  • Documents must be in PDF format for upload
  • Supported file types: PDF, DOC, DOCX, ODT, RTF, PNG, JPG
  • System folders (Documents, Templates, Archive, Trash Bin) cannot be renamed or deleted
  • Creating signing links requires documents to have signature fields
  • Custom invite subject/message requires a paid subscription
  • Rate limit in development mode: 500 requests/hour per application
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments

Error Handling

Status Meaning
400 Missing SignNow connection or bad request
401 Invalid or missing Maton API key
403 Insufficient permissions or subscription required
404 Resource not found
405 Method not allowed
429 Rate limited
4xx/5xx Passthrough error from SignNow API

SignNow errors include detailed messages:

{
  "errors": [
    {
      "code": 65578,
      "message": "Invalid file type."
    }
  ]
}

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

  1. Ensure your URL path starts with signnow. For example:
  • Correct: https://api.maton.ai/signnow/user
  • Incorrect: https://api.maton.ai/user

Resources

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

legalautomationdocsapiproductivity

同类 Skill