Skip to main content

attio

Attio API integration with managed OAuth. Manage CRM data including people, companies, and custom objects. Use this skill when users want to create, read, update, or delete records in Attio, manage tasks, notes, comments, lists, meetings, or query CRM data. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

소스 정보

저장소
CraftOS-dev/CraftBot
최근 소스 활동
2026년 8월 7일 11:54
감지된 SKILL.md 언어
영어
스타
417
포크
52

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
attio
description
Attio API integration with managed OAuth. Manage CRM data including people, companies, and custom objects. Use this skill when users want to create, read, update, or delete records in Attio, manage tasks, notes, comments, lists, meetings, or query CRM data. 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","clawdbot":{"emoji":"🧠","requires":{"env":"[Truncated]"}}}
# Attio Access the Attio REST API with managed OAuth authentication. Manage CRM objects, records, tasks, notes, comments, lists, list entries, meetings, call recordings, and workspace data. ## Quick Start ```bash # List all objects in workspace python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://gateway.maton.ai/attio/v2/objects') 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/attio/{native-api-path} ``` Replace `{native-api-path}` with the actual Attio API endpoint path. The gateway proxies requests to `api.attio.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`: ```bash export MATON_API_KEY="YOUR_API_KEY" ``` ### Getting Your API Key 1. Sign in or create an account at [maton.ai](https://maton.ai) 2. Go to [maton.ai/settings](https://maton.ai/settings) 3. Copy your API key ## Connection Management Manage your Attio OAuth connections at `https://ctrl.maton.ai`. ### List Connections ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://ctrl.maton.ai/connections?app=attio&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 ```bash python <<'EOF' import urllib.request, os, json data = json.dumps({'app': 'attio'}).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 ```bash 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:** ```json { "connection": { "connection_id": "67b77f19-206e-494c-82c2-8668396fc1f1", "status": "ACTIVE", "creation_time": "2026-02-06T03:13:17.061608Z", "last_updated_time": "2026-02-06T03:13:17.061617Z", "url": "https://connect.maton.ai/?session_token=...", "app": "attio", "metadata": {} } } ``` Open the returned `url` in a browser to complete OAuth authorization. ### Delete Connection ```bash 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 Attio connections, specify which one to use with the `Maton-Connection` header: ```bash python <<'EOF' import urllib.request, os, json req = urllib.request.Request('https://gateway.maton.ai/attio/v2/objects') req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}') req.add_header('Maton-Connection', '67b77f19-206e-494c-82c2-8668396fc1f1') print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2)) EOF ``` If omitted, the gateway uses the default (oldest) active connection. ## API Reference ### Objects Objects are the schema definitions (like People, Companies, or custom objects). #### List Objects ```bash GET /attio/v2/objects ``` Returns all system-defined and custom objects in your workspace. #### Get Object ```bash GET /attio/v2/objects/{object} ``` Get a specific object by slug (e.g., `people`, `companies`) or UUID. ### Attributes Attributes define the fields on objects. #### List Attributes ```bash GET /attio/v2/objects/{object}/attributes ``` Returns all attributes for an object. ### Records Records are the actual data entries (people, companies, etc.). #### Query Records ```bash POST /attio/v2/objects/{object}/records/query Content-Type: application/json { "limit": 50, "offset": 0, "filter": {}, "sorts": [] } ``` Query parameters in body: - `limit`: Maximum results (default 500) - `offset`: Number of results to skip - `filter`: Filter criteria object - `sorts`: Array of sort specifications #### Get Record ```bash GET /attio/v2/objects/{object}/records/{record_id} ``` #### Create Record ```bash POST /attio/v2/objects/{object}/records Content-Type: application/json { "data": { "values": { "name": [{"first_name": "John", "last_name": "Doe", "full_name": "John Doe"}], "email_addresses": ["john@example.com"] } } } ``` Note: For `personal-name` type attributes (like `name` on people), you must include `full_name` along with `first_name` and `last_name`. #### Update Record ```bash PATCH /attio/v2/objects/{object}/records/{record_id} Content-Type: application/json { "data": { "values": { "job_title": "Software Engineer" } } } ``` #### Delete Record ```bash DELETE /attio/v2/objects/{object}/records/{record_id} ``` ### Tasks #### List Tasks ```bash GET /attio/v2/tasks?limit=50 ``` Query parameters: - `limit`: Maximum results (default 500) - `offset`: Number to skip - `sort`: `created_at:asc` or `created_at:desc` - `linked_object`: Filter by object type (e.g., `people`) - `linked_record_id`: Filter by specific record - `assignee`: Filter by assignee email/ID - `is_completed`: Filter by completion status (true/false) #### Get Task ```bash GET /attio/v2/tasks/{task_id} ``` #### Create Task ```bash POST /attio/v2/tasks Content-Type: application/json { "data": { "content": "Follow up with customer", "format": "plaintext", "deadline_at": "2026-02-15T00:00:00.000000000Z", "is_completed": false, "assignees": [], "linked_records": [ { "target_object": "companies", "target_record_id": "16f2fc57-5d22-48b8-b9db-8b0e6d99e9bc" } ] } } ``` Required fields: `content`, `format`, `deadline_at`, `assignees`, `linked_records` #### Update Task ```bash PATCH /attio/v2/tasks/{task_id} Content-Type: application/json { "data": { "is_completed": true } } ``` #### Delete Task ```bash DELETE /attio/v2/tasks/{task_id} ``` ### Workspace Members #### List Workspace Members ```bash GET /attio/v2/workspace_members ``` #### Get Workspace Member ```bash GET /attio/v2/workspace_members/{workspace_member_id} ``` ### Self (Token Info) #### Identify Current Token ```bash GET /attio/v2/self ``` Returns workspace info and OAuth scopes for the current access token. ### Comments #### Create Comment on Record ```bash POST /attio/v2/comments Content-Type: application/json { "data": { "format": "plaintext", "content": "This is a comment", "author": { "type": "workspace-member", "id": "{workspace_member_id}" }, "record": { "object": "companies", "record_id": "{record_id}" } } } ``` Required fields: `format`, `content`, `author` Plus one of: - `record`: Object with `object` slug and `record_id` (for record comments) - `entry`: Object with `list` slug and `entry_id` (for list entry comments) - `thread_id`: UUID of existing thread (for replies) #### Reply to Comment Thread ```bash POST /attio/v2/comments Content-Type: application/json { "data": { "format": "plaintext", "content": "This is a reply", "author": { "type": "workspace-member", "id": "{workspace_member_id}" }, "thread_id": "{thread_id}" } } ``` ### Lists #### List All Lists ```bash GET /attio/v2/lists ``` #### Get List ```bash GET /attio/v2/lists/{list_id} ``` ### List Entries #### Query List Entries ```bash POST /attio/v2/lists/{list}/entries/query Content-Type: application/json { "limit": 50, "offset": 0, "filter": {}, "sorts": [] } ``` Query parameters in body: - `limit`: Maximum results (default 500) - `offset`: Number of results to skip - `filter`: Filter criteria object - `sorts`: Array of sort specifications #### Create List Entry ```bash POST /attio/v2/lists/{list}/entries Content-Type: application/json { "data": { "parent_record_id": "{record_id}", "parent_object": "companies",
GitHub에서 보기
이 SKILL.md는 매우 커서 SkillsMP가 여기에는 첫 섹션만 미리 보여줍니다. GitHub에서 보기