{"skill":{"slug":"fathom-api","displayName":"Fathom","summary":"Fathom API integration with managed OAuth. Access meeting recordings, transcripts, summaries, and manage webhooks. Use this skill when users want to retrieve...","description":"---\nname: fathom\ndescription: |\n  Fathom API integration with managed OAuth. Access meeting recordings, transcripts, summaries, and manage webhooks. Use this skill when users want to retrieve meeting content, search recordings, or set up webhook notifications for new meetings. 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    homepage: \"https://maton.ai\"\n    requires:\n      env:\n        - MATON_API_KEY\n---\n\n# Fathom\n\nAccess the Fathom API with managed OAuth authentication. Retrieve meeting recordings, transcripts, summaries, action items, and manage webhooks for notifications.\n\n## Quick Start\n\n```bash\n# List recent meetings\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/meetings')\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/fathom/{native-api-path}\n```\n\nMaton proxies requests to `api.fathom.ai` 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 Fathom 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=fathom&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': 'fathom'}).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\": \"fathom\",\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 Fathom 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/fathom/external/v1/meetings')\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 meeting recordings, transcripts, summaries, and manage webhooks within the connected Fathom 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### Meetings\n\n#### List Meetings\n\n```bash\nGET /fathom/external/v1/meetings\n```\n\nQuery parameters:\n- `cursor` - Cursor for pagination\n- `created_after` - Filter to meetings created after this timestamp (e.g., `2025-01-01T00:00:00Z`)\n- `created_before` - Filter to meetings created before this timestamp\n- `calendar_invitees_domains[]` - Filter by company domains (pass once per value)\n- `calendar_invitees_domains_type` - Filter by invitee type: `all`, `only_internal`, `one_or_more_external`\n- `recorded_by[]` - Filter by email addresses of users who recorded meetings\n- `teams[]` - Filter by team names\n\n**Note:** OAuth users cannot use `include_transcript`, `include_summary`, `include_action_items`, or `include_crm_matches` parameters on this endpoint. Use the `/recordings/{recording_id}/summary` and `/recordings/{recording_id}/transcript` endpoints instead.\n\n**Example with filters:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/meetings?created_after=2025-01-01T00:00:00Z&teams[]=Sales')\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  \"limit\": 10,\n  \"next_cursor\": \"eyJwYWdlX251bSI6Mn0=\",\n  \"items\": [\n    {\n      \"title\": \"Quarterly Business Review\",\n      \"meeting_title\": \"QBR 2025 Q1\",\n      \"recording_id\": 123456789,\n      \"url\": \"https://fathom.video/xyz123\",\n      \"share_url\": \"https://fathom.video/share/xyz123\",\n      \"created_at\": \"2025-03-01T17:01:30Z\",\n      \"scheduled_start_time\": \"2025-03-01T16:00:00Z\",\n      \"scheduled_end_time\": \"2025-03-01T17:00:00Z\",\n      \"recording_start_time\": \"2025-03-01T16:01:12Z\",\n      \"recording_end_time\": \"2025-03-01T17:00:55Z\",\n      \"calendar_invitees_domains_type\": \"one_or_more_external\",\n      \"transcript_language\": \"en\",\n      \"transcript\": null,\n      \"default_summary\": null,\n      \"action_items\": null,\n      \"crm_matches\": null,\n      \"recorded_by\": {\n        \"name\": \"Alice Johnson\",\n        \"email\": \"alice.johnson@acme.com\",\n        \"email_domain\": \"acme.com\",\n        \"team\": \"Marketing\"\n      },\n      \"calendar_invitees\": [\n        {\n          \"name\": \"Alice Johnson\",\n          \"email\": \"alice.johnson@acme.com\",\n          \"email_domain\": \"acme.com\",\n          \"is_external\": false,\n          \"matched_speaker_display_name\": null\n        }\n      ]\n    }\n  ]\n}\n```\n\n### Recordings\n\n#### Get Summary\n\n```bash\nGET /fathom/external/v1/recordings/{recording_id}/summary\n```\n\nQuery parameters:\n- `destination_url` - Optional URL for async callback. If provided, the summary will be POSTed to this URL.\n\n**Synchronous example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/recordings/123456789/summary')\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  \"summary\": {\n    \"template_name\": \"general\",\n    \"markdown_formatted\": \"## Summary\\n\\nWe reviewed Q1 OKRs, identified budget risks, and agreed to revisit projections next month.\"\n  }\n}\n```\n\n**Async example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/recordings/123456789/summary?destination_url=https://example.com/webhook')\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#### Get Transcript\n\n```bash\nGET /fathom/external/v1/recordings/{recording_id}/transcript\n```\n\nQuery parameters:\n- `destination_url` - Optional URL for async callback. If provided, the transcript will be POSTed to this URL.\n\n**Synchronous example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/recordings/123456789/transcript')\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  \"transcript\": [\n    {\n      \"speaker\": {\n        \"display_name\": \"Alice Johnson\",\n        \"matched_calendar_invitee_email\": \"alice.johnson@acme.com\"\n      },\n      \"text\": \"Let's revisit the budget allocations.\",\n      \"timestamp\": \"00:05:32\"\n    }\n  ]\n}\n```\n\n### Teams\n\n#### List Teams\n\n```bash\nGET /fathom/external/v1/teams\n```\n\nQuery parameters:\n- `cursor` - Cursor for pagination\n\n**Example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/teams')\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  \"limit\": 25,\n  \"next_cursor\": null,\n  \"items\": [\n    {\n      \"name\": \"Sales\",\n      \"created_at\": \"2023-11-10T12:00:00Z\"\n    }\n  ]\n}\n```\n\n### Team Members\n\n#### List Team Members\n\n```bash\nGET /fathom/external/v1/team_members\n```\n\nQuery parameters:\n- `cursor` - Cursor for pagination\n- `team` - Team name to filter by\n\n**Example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/team_members?team=Sales')\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  \"limit\": 25,\n  \"next_cursor\": null,\n  \"items\": [\n    {\n      \"name\": \"Bob Lee\",\n      \"email\": \"bob.lee@acme.com\",\n      \"created_at\": \"2024-06-01T08:30:00Z\"\n    }\n  ]\n}\n```\n\n### Webhooks\n\n#### Create Webhook\n\n```bash\nPOST /fathom/external/v1/webhooks\nContent-Type: application/json\n\n{\n  \"destination_url\": \"https://example.com/webhook\",\n  \"triggered_for\": [\"my_recordings\", \"my_shared_with_team_recordings\"],\n  \"include_transcript\": true,\n  \"include_summary\": true,\n  \"include_action_items\": true,\n  \"include_crm_matches\": false\n}\n```\n\n**triggered_for options:**\n- `my_recordings` - Your private recordings (excludes those shared with teams on Team Plans)\n- `shared_external_recordings` - Recordings shared with you by other users\n- `my_shared_with_team_recordings` - (Team Plans) Recordings you've shared with teams\n- `shared_team_recordings` - (Team Plans) Recordings from other users on your Team Plan\n\nAt least one of `include_transcript`, `include_summary`, `include_action_items`, or `include_crm_matches` must be true.\n\n**Example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'destination_url': 'https://example.com/webhook', 'triggered_for': ['my_recordings'], 'include_summary': True}).encode()\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/webhooks', 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**Response:**\n```json\n{\n  \"id\": \"ikEoQ4bVoq4JYUmc\",\n  \"url\": \"https://example.com/webhook\",\n  \"secret\": \"whsec_x6EV6NIAAz3ldclszNJTwrow\",\n  \"created_at\": \"2025-06-30T10:40:46Z\",\n  \"include_transcript\": false,\n  \"include_crm_matches\": false,\n  \"include_summary\": true,\n  \"include_action_items\": false,\n  \"triggered_for\": [\"my_recordings\"]\n}\n```\n\n#### Delete Webhook\n\n```bash\nDELETE /fathom/external/v1/webhooks/{id}\n```\n\n**Example:**\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/webhooks/ikEoQ4bVoq4JYUmc', 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\nReturns `204 No Content` on success.\n\n## Pagination\n\nUse `cursor` for pagination. Response includes `next_cursor` when more results exist:\n\n```bash\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://api.maton.ai/fathom/external/v1/meetings?cursor=eyJwYWdlX251bSI6Mn0=')\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## Code Examples\n\n### JavaScript\n\n```javascript\nconst response = await fetch(\n  'https://api.maton.ai/fathom/external/v1/meetings?created_after=2025-01-01T00:00:00Z',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n```\n\n### Python\n\n```python\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://api.maton.ai/fathom/external/v1/meetings',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'created_after': '2025-01-01T00:00:00Z'}\n)\ndata = response.json()\n```\n\n## Notes\n\n- Recording IDs are integers\n- Timestamps are in ISO 8601 format\n- Transcripts and summaries are in English\n- Webhook secrets are used to verify webhook signatures\n- CRM matches only return data from your or your team's linked CRM\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 | Bad request or missing Fathom connection |\n| 401 | Invalid or missing Maton API key |\n| 404 | Resource not found |\n| 429 | Rate limited |\n| 4xx/5xx | Passthrough error from Fathom 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 `fathom`. For example:\n\n- Correct: `https://api.maton.ai/fathom/external/v1/meetings`\n- Incorrect: `https://api.maton.ai/external/v1/meetings`\n\n## Resources\n\n- [Fathom API Documentation](https://developers.fathom.ai)\n- [LLM Reference](https://developers.fathom.ai/llms.txt)\n- [Maton Community](https://discord.com/invite/dBfFAcefs2)\n- [Maton Support](mailto:support@maton.ai)\n","topics":["Webhook","Api Integration","Meeting"],"tags":{"latest":"1.0.6"},"stats":{"comments":3,"downloads":17154,"installsAllTime":646,"installsCurrent":6,"stars":12,"versions":7},"createdAt":1770117324195,"updatedAt":1781739759130},"latestVersion":{"version":"1.0.6","createdAt":1777593301378,"changelog":"- Changed all endpoint base URLs from https://gateway.maton.ai/ and https://ctrl.maton.ai/ to https://api.maton.ai/\n- Updated Quick Start and all code samples to use the new https://api.maton.ai/ base URL.\n- Adjusted connection management instructions and endpoints to match the updated API domain.\n- Added a Security & Permissions section clarifying OAuth scopes and approval for write operations.\n- Removed extraneous file: LICENSE.txt.","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}