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

托管 OAuth 连接 JotForm API

JotForm · v1.0.2
数据集成 安全 A 级 榜单 #2 作者 byungkyu 公开目录收录
5k 下载 3 安装 17.2k 收藏 14 浏览

简介

通过托管 OAuth 连接 JotForm API,轻松创建表单、管理提交数据与 webhook,无需处理繁琐的身份验证流程。

原始描述

JotForm API integration with managed OAuth. Create forms, manage submissions, and access form data. Use this skill when users want to interact with JotForm f...

通过你的 Agent 添加

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

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

或者手动安装

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

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

中文使用说明 来自收录源

核心用法

JotForm Skill 是一个纯文档型 API 集成工具,通过 Maton 官方网关代理访问 JotForm API,实现表单全生命周期管理。

主要功能:

  • 表单管理:创建表单、查询表单结构、删除表单
  • 提交处理:获取表单提交数据、按条件过滤、删除提交记录
  • 连接管理:通过 OAuth 建立与 JotForm 的安全连接,支持多账户场景
  • Webhook 配置:为表单设置实时数据推送

使用流程:

  1. 在 Maton 平台获取 API Key 并设置环境变量
  2. 通过 ctrl.maton.ai 创建 JotForm OAuth 连接
  3. 使用 gateway.maton.ai/jotform 端点调用原生 API
  4. 多连接场景下通过 Maton-Connection 头部指定特定连接

典型调用示例:

import requests, os
response = requests.get(
    'https://gateway.maton.ai/jotform/user/forms',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
    params={'limit': 10}
)

显著优点

维度 优势
安全性 所有请求经 Maton 官方网关代理,OAuth 令牌由平台托管,无需本地存储敏感凭证
易用性 提供完整的中文/英文文档、多语言代码示例(Python、JavaScript、Bash)
功能完整 覆盖 JotForm 核心 API:用户管理、表单 CRUD、提交查询、Webhook 配置
多租户支持 原生支持多 JotForm 账户连接,通过头部灵活切换
合规性 通过 GDPR/CCPA 合规检查,无静默数据收集

潜在缺点与局限性

  1. 依赖外部平台:必须拥有 Maton 账户和 API Key,增加了一层供应商依赖
  2. 速率限制:10 req/sec 的账户级限流,高并发场景需自行实现退避策略
  3. 网关单点:所有流量经由 gateway.maton.ai,若 Maton 服务不可用则无法调用
  4. 功能边界:作为文档型 Skill,仅提供 API 封装,无表单可视化编辑器或高级分析功能
  5. 调试复杂度:OAuth 连接问题需跨 Maton 控制平面和 JotForm 双方排查

适合人群

  • 开发者:需要程序化管理 JotForm 表单的后端工程师
  • 数据分析师:批量导出表单提交数据进行二次分析
  • 自动化工程师:构建表单驱动的自动化工作流(如提交→CRM→通知链路)
  • 多账户管理者:同时运营多个 JotForm 账户,需统一 API 入口

常规风险

风险类别 说明 缓解措施
密钥泄露 MATON_API_KEY 泄露可导致账户被滥用 使用环境变量、定期轮换、最小权限原则
连接状态 OAuth 连接可能过期或失效 定期审计 ctrl.maton.ai/connections 状态
数据隐私 表单提交可能包含 PII 确保 JotForm 账户开启数据加密,遵守数据驻留政策
供应链 Maton 或 JotForm API 变更 关注官方变更日志,预留迁移窗口

安全认证摘要

该 Skill 通过 CLS 安全认证(Grade A / Score 85),来源可信度 T2 级。纯 Markdown 文档无本地可执行代码,16 个外部端点全部指向可信域名(maton.ai、jotform.com),无已知 CVE 漏洞或恶意模式。

技能正文


name: jotform description: | JotForm API integration with managed OAuth. Create forms, manage submissions, and access form data. Use this skill when users want to interact with JotForm forms and submissions. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). compatibility: Requires network access and valid Maton API key metadata: author: maton version: "1.0"

JotForm

Access the JotForm API with managed OAuth authentication. Create and manage forms, retrieve submissions, and manage webhooks.

Quick Start

# List user forms
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/jotform/user/forms?limit=20')
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://gateway.maton.ai/jotform/{native-api-path}

Replace {native-api-path} with the actual JotForm API endpoint path. The gateway proxies requests to api.jotform.com and automatically injects your API key.

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 JotForm connections at https://ctrl.maton.ai.

List Connections

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=jotform&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': 'jotform'}).encode()
req = urllib.request.Request('https://ctrl.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://ctrl.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": "21fd90f9-5935-43cd-b6c8-bde9d915ca80",
    "status": "ACTIVE",
    "creation_time": "2025-12-08T07:20:53.488460Z",
    "last_updated_time": "2026-01-31T20:03:32.593153Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "jotform",
    "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://ctrl.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 JotForm connections, specify which one to use with the Maton-Connection header:

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/jotform/user/forms')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If omitted, the gateway uses the default (oldest) active connection.

API Reference

User

GET /jotform/user
GET /jotform/user/forms?limit=20
GET /jotform/user/submissions?limit=20
GET /jotform/user/usage

Forms

Get Form
GET /jotform/form/{formId}
Get Form Questions
GET /jotform/form/{formId}/questions
Get Form Submissions
GET /jotform/form/{formId}/submissions?limit=20

With filter:

GET /jotform/form/{formId}/submissions?filter={"created_at:gt":"2024-01-01"}
Create Form
POST /jotform/user/forms
Content-Type: application/json

{
  "properties": {"title": "Contact Form"},
  "questions": {
    "1": {"type": "control_textbox", "text": "Name", "name": "name"},
    "2": {"type": "control_email", "text": "Email", "name": "email"}
  }
}
Delete Form
DELETE /jotform/form/{formId}

Submissions

Get Submission
GET /jotform/submission/{submissionId}
Delete Submission
DELETE /jotform/submission/{submissionId}

Webhooks

GET /jotform/form/{formId}/webhooks
POST /jotform/form/{formId}/webhooks
DELETE /jotform/form/{formId}/webhooks/{webhookIndex}

Question Types

  • control_textbox - Single line text
  • control_textarea - Multi-line text
  • control_email - Email
  • control_phone - Phone number
  • control_dropdown - Dropdown
  • control_radio - Radio buttons
  • control_checkbox - Checkboxes
  • control_datetime - Date/time picker
  • control_fileupload - File upload

Filter Syntax

{"field:gt":"value"}  // Greater than
{"field:lt":"value"}  // Less than
{"field:eq":"value"}  // Equal to

Code Examples

JavaScript

const response = await fetch(
  'https://gateway.maton.ai/jotform/user/forms?limit=10',
  {
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`
    }
  }
);

Python

import os
import requests

response = requests.get(
    'https://gateway.maton.ai/jotform/user/forms',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
    params={'limit': 10}
)

Notes

  • Form IDs are numeric
  • Pagination uses limit and offset
  • Use orderby to sort results
  • IMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get "Invalid API key" errors when piping.

Error Handling

Status Meaning
400 Missing JotForm connection
401 Invalid or missing Maton API key
429 Rate limited (10 req/sec per account)
4xx/5xx Passthrough error from JotForm API

Troubleshooting: Invalid API Key

When you receive a "Invalid API key" error, ALWAYS follow these steps before concluding there is an issue:

  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://ctrl.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

Resources

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

标签

jotformform-builderoauthapi-gatewaydata-collectionwebhookmatonsurveyautomation

同类 Skill