{"skill":{"slug":"typeform","displayName":"Typeform","summary":"Typeform API integration with managed OAuth. Create forms, manage responses, and access insights. Use this skill when users want to interact with Typeform su...","description":"---\nname: typeform\ndescription: |\n  Typeform API integration with managed OAuth. Create forms, manage responses, and access insights. Use this skill when users want to interact with Typeform surveys and responses. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).\ncompatibility: Requires network access and valid Maton API key\nmetadata:\n  author: maton\n  version: \"1.0\"\n  clawdbot:\n    emoji: 🧠\n    requires:\n      env:\n        - MATON_API_KEY\n---\n\n# Typeform\n\nAccess the Typeform API with managed OAuth authentication. Create and manage forms, retrieve responses, and access insights.\n\n## Quick Start\n\n```bash\n# List forms\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/typeform/forms?page_size=10')\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\n## Base URL\n\n```\nhttps://api.maton.ai/typeform/{native-api-path}\n```\n\nMaton proxies requests to `api.typeform.com` and automatically injects your OAuth token.\n\n## Authentication\n\nAll requests require the Maton API key in the Authorization header:\n\n```\nAuthorization: Bearer $MATON_API_KEY\n```\n\n**Environment Variable:** Set your API key as `MATON_API_KEY`:\n\n```bash\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n```\n\n### Getting Your API Key\n\n1. Sign in or create an account at [maton.ai](https://maton.ai)\n2. Go to [maton.ai/settings](https://maton.ai/settings)\n3. Copy your API key\n\n## Connection Management\n\nManage your Typeform OAuth connections at `https://api.maton.ai`.\n\n### List Connections\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/connections?app=typeform&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```\n\n### Create Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'typeform'}).encode()\nreq = urllib.request.Request('https://api.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```\n\n### Get Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.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\n**Response:**\n```json\n{\n  \"connection\": {\n    \"connection_id\": \"{connection_id}\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"typeform\",\n    \"metadata\": {}\n  }\n}\n```\n\nOpen the returned `url` in a browser to complete OAuth authorization.\n\n### Delete Connection\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.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```\n\n### Specifying Connection\n\nIf you have multiple Typeform connections, specify which one to use with the `Maton-Connection` header:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/typeform/forms?page_size=10')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '{connection_id}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n```\n\nIf you have multiple connections, always include this header to ensure requests go to the intended account.\n\n## Security & Permissions\n\n- Access is scoped to forms, responses, themes, and workspaces within the connected Typeform account.\n- **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.\n\n## API Reference\n\n### User\n\n```bash\nGET /typeform/me\n```\n\n### Forms\n\n#### List Forms\n\n```bash\nGET /typeform/forms?page_size=10\n```\n\n#### Get Form\n\n```bash\nGET /typeform/forms/{formId}\n```\n\n#### Create Form\n\n```bash\nPOST /typeform/forms\nContent-Type: application/json\n\n{\n  \"title\": \"Customer Survey\",\n  \"fields\": [\n    {\"type\": \"short_text\", \"title\": \"What is your name?\"},\n    {\"type\": \"email\", \"title\": \"What is your email?\"}\n  ]\n}\n```\n\n#### Update Form\n\n```bash\nPUT /typeform/forms/{formId}\nContent-Type: application/json\n\n{\n  \"title\": \"Updated Survey Title\",\n  \"fields\": [...]\n}\n```\n\n#### Delete Form\n\n```bash\nDELETE /typeform/forms/{formId}\n```\n\n### Responses\n\n#### List Responses\n\n```bash\nGET /typeform/forms/{formId}/responses?page_size=25\n```\n\nWith filters:\n\n```bash\nGET /typeform/forms/{formId}/responses?since=2024-01-01T00:00:00Z&until=2024-12-31T23:59:59Z&completed=true\n```\n\n### Insights\n\n```bash\nGET /typeform/insights/{formId}/summary\n```\n\n### Workspaces\n\n```bash\nGET /typeform/workspaces\nGET /typeform/workspaces/{workspaceId}\n```\n\n## Field Types\n\n- `short_text` - Single line text\n- `long_text` - Multi-line text\n- `email` - Email address\n- `number` - Numeric input\n- `rating` - Star rating\n- `opinion_scale` - 0-10 scale\n- `multiple_choice` - Single or multiple selection\n- `yes_no` - Boolean\n- `date` - Date picker\n- `dropdown` - Dropdown selection\n\n## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https://api.maton.ai/typeform/forms?page_size=10',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://api.maton.ai/typeform/forms',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'page_size': 10}\n)\n```\n\n## Notes\n\n- Form IDs are alphanumeric strings\n- Response pagination uses `before` token\n- Timestamps are in ISO 8601 format\n- DELETE operations return HTTP 204\n- IMPORTANT: When using curl commands, use `curl -g` when URLs contain brackets (`fields[]`, `sort[]`, `records[]`) to disable glob parsing\n- 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.\n\n## Error Handling\n\n| Status | Meaning |\n|--------|---------|\n| 400 | Missing Typeform connection |\n| 401 | Invalid or missing Maton API key |\n| 429 | Rate limited (10 req/sec per account) |\n| 4xx/5xx | Passthrough error from Typeform API |\n\n### Troubleshooting: API Key Issues\n\n1. Check that the `MATON_API_KEY` environment variable is set:\n\n```bash\necho $MATON_API_KEY\n```\n\n2. Verify the API key is valid by listing connections:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.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```\n\n### Troubleshooting: Invalid App Name\n\n1. Ensure your URL path starts with `typeform`. For example:\n\n- Correct: `https://api.maton.ai/typeform/forms`\n- Incorrect: `https://api.maton.ai/forms`\n\n## Resources\n\n- [Typeform API Overview](https://www.typeform.com/developers/get-started)\n- [Forms](https://www.typeform.com/developers/create/reference/retrieve-forms)\n- [Responses](https://www.typeform.com/developers/responses/reference/retrieve-responses)\n- [Workspaces](https://www.typeform.com/developers/create/reference/retrieve-workspaces)\n- [Maton Community](https://discord.com/invite/dBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n","topics":["Api Integration"],"tags":{"latest":"1.0.5"},"stats":{"comments":3,"downloads":18385,"installsAllTime":694,"installsCurrent":16,"stars":8,"versions":6},"createdAt":1770023926054,"updatedAt":1781739759130},"latestVersion":{"version":"1.0.5","createdAt":1777593432467,"changelog":"- Updated all documentation to use the new endpoint base URL: https://api.maton.ai instead of https://gateway.maton.ai and https://ctrl.maton.ai.\n- Improved instructions for connection management and clarified the requirement to specify the `Maton-Connection` header when multiple connections exist.\n- Added a new section highlighting security and permissions, including a note that all write operations require explicit user approval.\n- Removed the LICENSE.txt file.","license":"MIT-0"},"metadata":{"setup":[{"key":"MATON_API_KEY","required":true}],"os":null,"systems":null},"owner":{"handle":"byungkyu","userId":"s174c3s2kc1ehqj1ytzntezj2983e2aj","displayName":"byungkyu","image":"https://avatars.githubusercontent.com/u/16563684?v=4"},"moderation":null}