{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tally-api",
    "name": "Tally",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/byungkyu/tally-api",
    "canonicalUrl": "https://clawhub.ai/byungkyu/tally-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tally-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tally-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tally-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/tally-api",
    "agentPageUrl": "https://openagent3.xyz/skills/tally-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tally-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tally-api/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Tally",
        "body": "Access the Tally API with managed OAuth authentication. Manage forms, submissions, workspaces, and webhooks for your Tally account."
      },
      {
        "title": "Quick Start",
        "body": "# List your forms\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/tally/forms')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'Maton/1.0')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/tally/{native-api-path}\n\nReplace {native-api-path} with the actual Tally API endpoint path. The gateway proxies requests to api.tally.so and automatically injects your OAuth token."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header and the User Agent header:\n\nAuthorization: Bearer $MATON_API_KEY\nUser-Agent: Maton/1.0\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your Tally OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=tally&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'tally'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"cd54e2b0-f1d0-435e-a97d-f2d6a5c474bf\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-07T21:00:31.222600Z\",\n    \"last_updated_time\": \"2026-02-07T21:00:37.821240Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"tally\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Tally connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/tally/forms')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'cd54e2b0-f1d0-435e-a97d-f2d6a5c474bf')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "User",
        "body": "Get Current User\n\nGET /tally/users/me\n\nResponse:\n\n{\n  \"id\": \"w2lBkb\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"email\": \"john@example.com\",\n  \"organizationId\": \"n0Ze8Q\",\n  \"subscriptionPlan\": \"FREE\",\n  \"createdAt\": \"2026-02-07T20:58:54.000Z\",\n  \"updatedAt\": \"2026-02-07T22:50:35.000Z\"\n}"
      },
      {
        "title": "Forms",
        "body": "List Forms\n\nGET /tally/forms\n\nQuery Parameters:\n\npage - Page number (default: 1)\nlimit - Items per page (default: 50)\n\nResponse:\n\n{\n  \"items\": [\n    {\n      \"id\": \"GxdRaQ\",\n      \"name\": \"Contact Form\",\n      \"workspaceId\": \"3jW9Q1\",\n      \"organizationId\": \"n0Ze8Q\",\n      \"status\": \"PUBLISHED\",\n      \"hasDraftBlocks\": false,\n      \"numberOfSubmissions\": 42,\n      \"createdAt\": \"2026-02-09T08:36:00.000Z\",\n      \"updatedAt\": \"2026-02-09T08:36:17.000Z\",\n      \"isClosed\": false\n    }\n  ],\n  \"page\": 1,\n  \"limit\": 50,\n  \"total\": 1,\n  \"hasMore\": false\n}\n\nGet Form\n\nGET /tally/forms/{formId}\n\nResponse:\n\n{\n  \"id\": \"GxdRaQ\",\n  \"name\": \"Contact Form\",\n  \"workspaceId\": \"3jW9Q1\",\n  \"status\": \"PUBLISHED\",\n  \"blocks\": [\n    {\n      \"uuid\": \"11111111-1111-1111-1111-111111111111\",\n      \"type\": \"FORM_TITLE\",\n      \"groupUuid\": \"22222222-2222-2222-2222-222222222222\",\n      \"groupType\": \"FORM_TITLE\",\n      \"payload\": {}\n    },\n    {\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"type\": \"INPUT_TEXT\",\n      \"groupUuid\": \"44444444-4444-4444-4444-444444444444\",\n      \"groupType\": \"INPUT_TEXT\",\n      \"payload\": {}\n    }\n  ],\n  \"settings\": null\n}\n\nCreate Form\n\nPOST /tally/forms\nContent-Type: application/json\n\n{\n  \"status\": \"DRAFT\",\n  \"workspaceId\": \"3jW9Q1\",\n  \"blocks\": [\n    {\n      \"type\": \"FORM_TITLE\",\n      \"uuid\": \"11111111-1111-1111-1111-111111111111\",\n      \"groupUuid\": \"22222222-2222-2222-2222-222222222222\",\n      \"groupType\": \"FORM_TITLE\",\n      \"title\": \"My Form\",\n      \"payload\": {}\n    },\n    {\n      \"type\": \"INPUT_TEXT\",\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"groupUuid\": \"44444444-4444-4444-4444-444444444444\",\n      \"groupType\": \"INPUT_TEXT\",\n      \"title\": \"Your name\",\n      \"payload\": {}\n    }\n  ]\n}\n\nBlock Types:\n\nFORM_TITLE - Form title block\nINPUT_TEXT - Single-line text input\nINPUT_EMAIL - Email input\nINPUT_NUMBER - Number input\nINPUT_PHONE_NUMBER - Phone number input\nINPUT_DATE - Date picker\nINPUT_TIME - Time picker\nINPUT_LINK - URL input\nTEXTAREA - Multi-line text input\nMULTIPLE_CHOICE - Radio buttons\nCHECKBOXES - Checkbox group\nDROPDOWN - Dropdown select\nLINEAR_SCALE - Scale rating\nRATING - Star rating\nFILE_UPLOAD - File upload\nSIGNATURE - Signature field\nPAYMENT - Payment field\nHIDDEN_FIELDS - Hidden fields\n\nNote: Block uuid and groupUuid must be valid UUIDs (GUIDs).\n\nUpdate Form\n\nPATCH /tally/forms/{formId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Form Name\",\n  \"status\": \"PUBLISHED\"\n}\n\nStatus Values:\n\nDRAFT - Form is a draft\nPUBLISHED - Form is live\n\nDelete Form\n\nDELETE /tally/forms/{formId}\n\nMoves the form to trash."
      },
      {
        "title": "Form Questions",
        "body": "List Questions\n\nGET /tally/forms/{formId}/questions\n\nResponse:\n\n{\n  \"questions\": [\n    {\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"type\": \"INPUT_TEXT\",\n      \"title\": \"Your name\"\n    }\n  ],\n  \"hasResponses\": true\n}"
      },
      {
        "title": "Form Submissions",
        "body": "List Submissions\n\nGET /tally/forms/{formId}/submissions\n\nQuery Parameters:\n\npage - Page number (default: 1)\nlimit - Items per page (default: 50)\nstartDate - Filter by start date (ISO 8601)\nendDate - Filter by end date (ISO 8601)\nafterId - Get submissions after this ID (cursor pagination)\n\nResponse:\n\n{\n  \"page\": 1,\n  \"limit\": 50,\n  \"hasMore\": false,\n  \"totalNumberOfSubmissionsPerFilter\": {\n    \"all\": 42,\n    \"completed\": 40,\n    \"partial\": 2\n  },\n  \"questions\": [\n    {\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"type\": \"INPUT_TEXT\",\n      \"title\": \"Your name\"\n    }\n  ],\n  \"submissions\": [\n    {\n      \"id\": \"sub123\",\n      \"respondentId\": \"resp456\",\n      \"formId\": \"GxdRaQ\",\n      \"createdAt\": \"2026-02-09T10:00:00.000Z\",\n      \"isCompleted\": true,\n      \"responses\": [\n        {\n          \"questionId\": \"33333333-3333-3333-3333-333333333333\",\n          \"value\": \"John Doe\"\n        }\n      ]\n    }\n  ]\n}\n\nGet Submission\n\nGET /tally/forms/{formId}/submissions/{submissionId}\n\nDelete Submission\n\nDELETE /tally/forms/{formId}/submissions/{submissionId}"
      },
      {
        "title": "Workspaces",
        "body": "List Workspaces\n\nGET /tally/workspaces\n\nResponse:\n\n{\n  \"items\": [\n    {\n      \"id\": \"3jW9Q1\",\n      \"name\": \"My Workspace\",\n      \"createdByUserId\": \"w2lBkb\",\n      \"createdAt\": \"2026-02-09T08:35:53.000Z\",\n      \"updatedAt\": \"2026-02-09T08:35:53.000Z\"\n    }\n  ],\n  \"page\": 1,\n  \"limit\": 50,\n  \"total\": 1,\n  \"hasMore\": false\n}\n\nGet Workspace\n\nGET /tally/workspaces/{workspaceId}\n\nResponse:\n\n{\n  \"id\": \"3jW9Q1\",\n  \"name\": \"My Workspace\",\n  \"createdByUserId\": \"w2lBkb\",\n  \"createdAt\": \"2026-02-09T08:35:53.000Z\",\n  \"members\": [\n    {\n      \"id\": \"w2lBkb\",\n      \"firstName\": \"John\",\n      \"lastName\": \"Doe\",\n      \"email\": \"john@example.com\"\n    }\n  ]\n}\n\nCreate Workspace\n\nPOST /tally/workspaces\nContent-Type: application/json\n\n{\n  \"name\": \"New Workspace\"\n}\n\nNote: Creating workspaces requires a Pro subscription.\n\nUpdate Workspace\n\nPATCH /tally/workspaces/{workspaceId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Workspace Name\"\n}\n\nDelete Workspace\n\nDELETE /tally/workspaces/{workspaceId}\n\nMoves the workspace and all its forms to trash."
      },
      {
        "title": "Organization Users",
        "body": "List Users\n\nGET /tally/organizations/{organizationId}/users\n\nResponse:\n\n[\n  {\n    \"id\": \"w2lBkb\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john@example.com\",\n    \"createdAt\": \"2026-02-07T20:58:54.000Z\"\n  }\n]\n\nRemove User\n\nDELETE /tally/organizations/{organizationId}/users/{userId}"
      },
      {
        "title": "Organization Invites",
        "body": "List Invites\n\nGET /tally/organizations/{organizationId}/invites\n\nCreate Invite\n\nPOST /tally/organizations/{organizationId}/invites\nContent-Type: application/json\n\n{\n  \"email\": \"newuser@example.com\",\n  \"workspaceIds\": [\"3jW9Q1\"]\n}\n\nCancel Invite\n\nDELETE /tally/organizations/{organizationId}/invites/{inviteId}"
      },
      {
        "title": "Webhooks",
        "body": "List Webhooks\n\nGET /tally/webhooks\n\nNote: Listing webhooks may require specific permissions.\n\nCreate Webhook\n\nPOST /tally/webhooks\nContent-Type: application/json\n\n{\n  \"formId\": \"GxdRaQ\",\n  \"url\": \"https://your-endpoint.com/webhook\",\n  \"eventTypes\": [\"FORM_RESPONSE\"]\n}\n\nWebhook Event Types:\n\nFORM_RESPONSE - Triggered when a new form response is submitted\n\nUpdate Webhook\n\nPATCH /tally/webhooks/{webhookId}\nContent-Type: application/json\n\n{\n  \"url\": \"https://new-endpoint.com/webhook\"\n}\n\nDelete Webhook\n\nDELETE /tally/webhooks/{webhookId}\n\nList Webhook Events\n\nGET /tally/webhooks/{webhookId}/events\n\nRetry Webhook Event\n\nPOST /tally/webhooks/{webhookId}/events/{eventId}"
      },
      {
        "title": "Pagination",
        "body": "Tally uses page-based pagination:\n\nGET /tally/forms?page=1&limit=50\n\nResponse includes pagination info:\n\n{\n  \"items\": [...],\n  \"page\": 1,\n  \"limit\": 50,\n  \"total\": 100,\n  \"hasMore\": true\n}\n\nFor submissions, cursor-based pagination is also available using afterId."
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/tally/forms',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,\n      'User-Agent': 'Maton/1.0'\n    }\n  }\n);\nconst data = await response.json();\nconsole.log(data.items);"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/tally/forms',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'User-Agent': 'Maton/1.0'\n    }\n)\ndata = response.json()\nprint(data['items'])"
      },
      {
        "title": "Create Form and Get Submissions",
        "body": "import os\nimport requests\nimport uuid\n\nheaders = {\n    'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n    'User-Agent': 'Maton/1.0'\n}\n\n# Create a simple form\nform_data = {\n    'status': 'DRAFT',\n    'blocks': [\n        {\n            'type': 'FORM_TITLE',\n            'uuid': str(uuid.uuid4()),\n            'groupUuid': str(uuid.uuid4()),\n            'groupType': 'FORM_TITLE',\n            'title': 'Contact Form',\n            'payload': {}\n        },\n        {\n            'type': 'INPUT_EMAIL',\n            'uuid': str(uuid.uuid4()),\n            'groupUuid': str(uuid.uuid4()),\n            'groupType': 'INPUT_EMAIL',\n            'title': 'Your email',\n            'payload': {}\n        }\n    ]\n}\n\nresponse = requests.post(\n    'https://gateway.maton.ai/tally/forms',\n    headers=headers,\n    json=form_data\n)\nform = response.json()\nprint(f\"Created form: {form['id']}\")\n\n# Get submissions for a form\nresponse = requests.get(\n    f'https://gateway.maton.ai/tally/forms/{form[\"id\"]}/submissions',\n    headers=headers\n)\nsubmissions = response.json()\nprint(f\"Total submissions: {submissions['totalNumberOfSubmissionsPerFilter']['all']}\")"
      },
      {
        "title": "Notes",
        "body": "Form and workspace IDs are short alphanumeric strings (e.g., GxdRaQ)\nBlock uuid and groupUuid fields must be valid UUIDs (GUIDs)\nCreating workspaces requires a Pro subscription\nThe API is in public beta and subject to changes\nRate limit: 100 requests per minute\nUse webhooks instead of polling for real-time submission notifications\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing Tally connection or validation error401Invalid or missing Maton API key403Insufficient permissions404Resource not found429Rate limited (100 req/min)4xx/5xxPassthrough error from Tally API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with tally. For example:\n\nCorrect: https://gateway.maton.ai/tally/forms\nIncorrect: https://gateway.maton.ai/forms"
      },
      {
        "title": "Resources",
        "body": "Tally API Introduction\nTally API Reference\nTally Help Center\nMaton Community\nMaton Support"
      }
    ],
    "body": "Tally\n\nAccess the Tally API with managed OAuth authentication. Manage forms, submissions, workspaces, and webhooks for your Tally account.\n\nQuick Start\n# List your forms\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/tally/forms')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('User-Agent', 'Maton/1.0')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/tally/{native-api-path}\n\n\nReplace {native-api-path} with the actual Tally API endpoint path. The gateway proxies requests to api.tally.so and automatically injects your OAuth token.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header and the User Agent header:\n\nAuthorization: Bearer $MATON_API_KEY\nUser-Agent: Maton/1.0\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your Tally OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=tally&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'tally'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"cd54e2b0-f1d0-435e-a97d-f2d6a5c474bf\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-07T21:00:31.222600Z\",\n    \"last_updated_time\": \"2026-02-07T21:00:37.821240Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"tally\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Tally connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/tally/forms')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'cd54e2b0-f1d0-435e-a97d-f2d6a5c474bf')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nUser\nGet Current User\nGET /tally/users/me\n\n\nResponse:\n\n{\n  \"id\": \"w2lBkb\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"email\": \"john@example.com\",\n  \"organizationId\": \"n0Ze8Q\",\n  \"subscriptionPlan\": \"FREE\",\n  \"createdAt\": \"2026-02-07T20:58:54.000Z\",\n  \"updatedAt\": \"2026-02-07T22:50:35.000Z\"\n}\n\nForms\nList Forms\nGET /tally/forms\n\n\nQuery Parameters:\n\npage - Page number (default: 1)\nlimit - Items per page (default: 50)\n\nResponse:\n\n{\n  \"items\": [\n    {\n      \"id\": \"GxdRaQ\",\n      \"name\": \"Contact Form\",\n      \"workspaceId\": \"3jW9Q1\",\n      \"organizationId\": \"n0Ze8Q\",\n      \"status\": \"PUBLISHED\",\n      \"hasDraftBlocks\": false,\n      \"numberOfSubmissions\": 42,\n      \"createdAt\": \"2026-02-09T08:36:00.000Z\",\n      \"updatedAt\": \"2026-02-09T08:36:17.000Z\",\n      \"isClosed\": false\n    }\n  ],\n  \"page\": 1,\n  \"limit\": 50,\n  \"total\": 1,\n  \"hasMore\": false\n}\n\nGet Form\nGET /tally/forms/{formId}\n\n\nResponse:\n\n{\n  \"id\": \"GxdRaQ\",\n  \"name\": \"Contact Form\",\n  \"workspaceId\": \"3jW9Q1\",\n  \"status\": \"PUBLISHED\",\n  \"blocks\": [\n    {\n      \"uuid\": \"11111111-1111-1111-1111-111111111111\",\n      \"type\": \"FORM_TITLE\",\n      \"groupUuid\": \"22222222-2222-2222-2222-222222222222\",\n      \"groupType\": \"FORM_TITLE\",\n      \"payload\": {}\n    },\n    {\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"type\": \"INPUT_TEXT\",\n      \"groupUuid\": \"44444444-4444-4444-4444-444444444444\",\n      \"groupType\": \"INPUT_TEXT\",\n      \"payload\": {}\n    }\n  ],\n  \"settings\": null\n}\n\nCreate Form\nPOST /tally/forms\nContent-Type: application/json\n\n{\n  \"status\": \"DRAFT\",\n  \"workspaceId\": \"3jW9Q1\",\n  \"blocks\": [\n    {\n      \"type\": \"FORM_TITLE\",\n      \"uuid\": \"11111111-1111-1111-1111-111111111111\",\n      \"groupUuid\": \"22222222-2222-2222-2222-222222222222\",\n      \"groupType\": \"FORM_TITLE\",\n      \"title\": \"My Form\",\n      \"payload\": {}\n    },\n    {\n      \"type\": \"INPUT_TEXT\",\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"groupUuid\": \"44444444-4444-4444-4444-444444444444\",\n      \"groupType\": \"INPUT_TEXT\",\n      \"title\": \"Your name\",\n      \"payload\": {}\n    }\n  ]\n}\n\n\nBlock Types:\n\nFORM_TITLE - Form title block\nINPUT_TEXT - Single-line text input\nINPUT_EMAIL - Email input\nINPUT_NUMBER - Number input\nINPUT_PHONE_NUMBER - Phone number input\nINPUT_DATE - Date picker\nINPUT_TIME - Time picker\nINPUT_LINK - URL input\nTEXTAREA - Multi-line text input\nMULTIPLE_CHOICE - Radio buttons\nCHECKBOXES - Checkbox group\nDROPDOWN - Dropdown select\nLINEAR_SCALE - Scale rating\nRATING - Star rating\nFILE_UPLOAD - File upload\nSIGNATURE - Signature field\nPAYMENT - Payment field\nHIDDEN_FIELDS - Hidden fields\n\nNote: Block uuid and groupUuid must be valid UUIDs (GUIDs).\n\nUpdate Form\nPATCH /tally/forms/{formId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Form Name\",\n  \"status\": \"PUBLISHED\"\n}\n\n\nStatus Values:\n\nDRAFT - Form is a draft\nPUBLISHED - Form is live\nDelete Form\nDELETE /tally/forms/{formId}\n\n\nMoves the form to trash.\n\nForm Questions\nList Questions\nGET /tally/forms/{formId}/questions\n\n\nResponse:\n\n{\n  \"questions\": [\n    {\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"type\": \"INPUT_TEXT\",\n      \"title\": \"Your name\"\n    }\n  ],\n  \"hasResponses\": true\n}\n\nForm Submissions\nList Submissions\nGET /tally/forms/{formId}/submissions\n\n\nQuery Parameters:\n\npage - Page number (default: 1)\nlimit - Items per page (default: 50)\nstartDate - Filter by start date (ISO 8601)\nendDate - Filter by end date (ISO 8601)\nafterId - Get submissions after this ID (cursor pagination)\n\nResponse:\n\n{\n  \"page\": 1,\n  \"limit\": 50,\n  \"hasMore\": false,\n  \"totalNumberOfSubmissionsPerFilter\": {\n    \"all\": 42,\n    \"completed\": 40,\n    \"partial\": 2\n  },\n  \"questions\": [\n    {\n      \"uuid\": \"33333333-3333-3333-3333-333333333333\",\n      \"type\": \"INPUT_TEXT\",\n      \"title\": \"Your name\"\n    }\n  ],\n  \"submissions\": [\n    {\n      \"id\": \"sub123\",\n      \"respondentId\": \"resp456\",\n      \"formId\": \"GxdRaQ\",\n      \"createdAt\": \"2026-02-09T10:00:00.000Z\",\n      \"isCompleted\": true,\n      \"responses\": [\n        {\n          \"questionId\": \"33333333-3333-3333-3333-333333333333\",\n          \"value\": \"John Doe\"\n        }\n      ]\n    }\n  ]\n}\n\nGet Submission\nGET /tally/forms/{formId}/submissions/{submissionId}\n\nDelete Submission\nDELETE /tally/forms/{formId}/submissions/{submissionId}\n\nWorkspaces\nList Workspaces\nGET /tally/workspaces\n\n\nResponse:\n\n{\n  \"items\": [\n    {\n      \"id\": \"3jW9Q1\",\n      \"name\": \"My Workspace\",\n      \"createdByUserId\": \"w2lBkb\",\n      \"createdAt\": \"2026-02-09T08:35:53.000Z\",\n      \"updatedAt\": \"2026-02-09T08:35:53.000Z\"\n    }\n  ],\n  \"page\": 1,\n  \"limit\": 50,\n  \"total\": 1,\n  \"hasMore\": false\n}\n\nGet Workspace\nGET /tally/workspaces/{workspaceId}\n\n\nResponse:\n\n{\n  \"id\": \"3jW9Q1\",\n  \"name\": \"My Workspace\",\n  \"createdByUserId\": \"w2lBkb\",\n  \"createdAt\": \"2026-02-09T08:35:53.000Z\",\n  \"members\": [\n    {\n      \"id\": \"w2lBkb\",\n      \"firstName\": \"John\",\n      \"lastName\": \"Doe\",\n      \"email\": \"john@example.com\"\n    }\n  ]\n}\n\nCreate Workspace\nPOST /tally/workspaces\nContent-Type: application/json\n\n{\n  \"name\": \"New Workspace\"\n}\n\n\nNote: Creating workspaces requires a Pro subscription.\n\nUpdate Workspace\nPATCH /tally/workspaces/{workspaceId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Workspace Name\"\n}\n\nDelete Workspace\nDELETE /tally/workspaces/{workspaceId}\n\n\nMoves the workspace and all its forms to trash.\n\nOrganization Users\nList Users\nGET /tally/organizations/{organizationId}/users\n\n\nResponse:\n\n[\n  {\n    \"id\": \"w2lBkb\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\",\n    \"email\": \"john@example.com\",\n    \"createdAt\": \"2026-02-07T20:58:54.000Z\"\n  }\n]\n\nRemove User\nDELETE /tally/organizations/{organizationId}/users/{userId}\n\nOrganization Invites\nList Invites\nGET /tally/organizations/{organizationId}/invites\n\nCreate Invite\nPOST /tally/organizations/{organizationId}/invites\nContent-Type: application/json\n\n{\n  \"email\": \"newuser@example.com\",\n  \"workspaceIds\": [\"3jW9Q1\"]\n}\n\nCancel Invite\nDELETE /tally/organizations/{organizationId}/invites/{inviteId}\n\nWebhooks\nList Webhooks\nGET /tally/webhooks\n\n\nNote: Listing webhooks may require specific permissions.\n\nCreate Webhook\nPOST /tally/webhooks\nContent-Type: application/json\n\n{\n  \"formId\": \"GxdRaQ\",\n  \"url\": \"https://your-endpoint.com/webhook\",\n  \"eventTypes\": [\"FORM_RESPONSE\"]\n}\n\n\nWebhook Event Types:\n\nFORM_RESPONSE - Triggered when a new form response is submitted\nUpdate Webhook\nPATCH /tally/webhooks/{webhookId}\nContent-Type: application/json\n\n{\n  \"url\": \"https://new-endpoint.com/webhook\"\n}\n\nDelete Webhook\nDELETE /tally/webhooks/{webhookId}\n\nList Webhook Events\nGET /tally/webhooks/{webhookId}/events\n\nRetry Webhook Event\nPOST /tally/webhooks/{webhookId}/events/{eventId}\n\nPagination\n\nTally uses page-based pagination:\n\nGET /tally/forms?page=1&limit=50\n\n\nResponse includes pagination info:\n\n{\n  \"items\": [...],\n  \"page\": 1,\n  \"limit\": 50,\n  \"total\": 100,\n  \"hasMore\": true\n}\n\n\nFor submissions, cursor-based pagination is also available using afterId.\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/tally/forms',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`,\n      'User-Agent': 'Maton/1.0'\n    }\n  }\n);\nconst data = await response.json();\nconsole.log(data.items);\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/tally/forms',\n    headers={\n        'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n        'User-Agent': 'Maton/1.0'\n    }\n)\ndata = response.json()\nprint(data['items'])\n\nCreate Form and Get Submissions\nimport os\nimport requests\nimport uuid\n\nheaders = {\n    'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}',\n    'User-Agent': 'Maton/1.0'\n}\n\n# Create a simple form\nform_data = {\n    'status': 'DRAFT',\n    'blocks': [\n        {\n            'type': 'FORM_TITLE',\n            'uuid': str(uuid.uuid4()),\n            'groupUuid': str(uuid.uuid4()),\n            'groupType': 'FORM_TITLE',\n            'title': 'Contact Form',\n            'payload': {}\n        },\n        {\n            'type': 'INPUT_EMAIL',\n            'uuid': str(uuid.uuid4()),\n            'groupUuid': str(uuid.uuid4()),\n            'groupType': 'INPUT_EMAIL',\n            'title': 'Your email',\n            'payload': {}\n        }\n    ]\n}\n\nresponse = requests.post(\n    'https://gateway.maton.ai/tally/forms',\n    headers=headers,\n    json=form_data\n)\nform = response.json()\nprint(f\"Created form: {form['id']}\")\n\n# Get submissions for a form\nresponse = requests.get(\n    f'https://gateway.maton.ai/tally/forms/{form[\"id\"]}/submissions',\n    headers=headers\n)\nsubmissions = response.json()\nprint(f\"Total submissions: {submissions['totalNumberOfSubmissionsPerFilter']['all']}\")\n\nNotes\nForm and workspace IDs are short alphanumeric strings (e.g., GxdRaQ)\nBlock uuid and groupUuid fields must be valid UUIDs (GUIDs)\nCreating workspaces requires a Pro subscription\nThe API is in public beta and subject to changes\nRate limit: 100 requests per minute\nUse webhooks instead of polling for real-time submission notifications\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nError Handling\nStatus\tMeaning\n400\tMissing Tally connection or validation error\n401\tInvalid or missing Maton API key\n403\tInsufficient permissions\n404\tResource not found\n429\tRate limited (100 req/min)\n4xx/5xx\tPassthrough error from Tally API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with tally. For example:\nCorrect: https://gateway.maton.ai/tally/forms\nIncorrect: https://gateway.maton.ai/forms\nResources\nTally API Introduction\nTally API Reference\nTally Help Center\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/tally-api",
    "publisherUrl": "https://clawhub.ai/byungkyu/tally-api",
    "owner": "byungkyu",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tally-api",
    "downloadUrl": "https://openagent3.xyz/downloads/tally-api",
    "agentUrl": "https://openagent3.xyz/skills/tally-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tally-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tally-api/agent.md"
  }
}