简介
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, up...
通过你的 Agent 添加
安装目录:attio/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Attio Skill 是一个纯文档型的 API 集成工具,通过 Maton 官方网关代理访问 Attio REST API。用户无需直接处理 OAuth 令牌,仅需配置 MATON_API_KEY 环境变量即可调用完整的 CRM 功能,包括:
- 对象管理:查询、创建、更新、删除 People、Companies 等标准对象及自定义对象
- 记录操作:支持复杂的过滤查询、分页获取、批量更新
- 任务与协作:创建任务、分配负责人、设置截止日期、关联记录
- 会议与通话:管理会议记录、获取通话录音
- 列表与条目:自定义列表管理、列表条目 CRUD 操作
- 评论与备注:为记录添加评论、创建结构化笔记
使用方式极为简洁:所有请求通过 https://gateway.maton.ai/attio/{native-api-path} 发送,Maton 自动注入 OAuth 令牌完成认证。
显著优点
- 零代码安全风险:纯 Markdown 文档,无可执行代码,无供应链攻击面
- 托管 OAuth 认证:令牌生命周期由 Maton 全权管理,用户零负担
- 完整 API 覆盖:支持 Attio v2 API 全部核心能力,包括 Tasks、Meetings、Notes 等高级功能
- 多连接管理:支持通过
ctrl.maton.ai 管理多个 Attio 工作区连接
- 详尽文档:提供 Python、JavaScript、Bash 多语言示例,覆盖所有端点
- 合规友好:通过环境变量读取密钥,符合 GDPR/CCPA 要求
潜在局限
- 依赖 Maton 服务可用性:网关故障将直接影响功能使用
- 速率限制:Attio API 限制读取 100 req/s、写入 25 req/s
- OAuth 范围限制:部分功能(Lists、Notes、Webhooks)需额外授权
- 无离线能力:纯云端代理模式,无法本地缓存或离线操作
- Maton 平台绑定:必须使用 Maton API Key,无法直接对接 Attio
适合人群
- 需要快速集成 Attio CRM 的自动化工作流开发者
- 希望避免 OAuth 实现复杂性的技术团队
- 使用 Python/JavaScript 进行数据同步、报表生成的数据工程师
- 需要批量操作 CRM 记录的销售运营团队
常规风险
- API 密钥泄露:
MATON_API_KEY 若暴露可能导致 Attio 数据被非法访问
- 数据合规风险:CRM 数据涉及客户隐私,需确保符合当地数据保护法规
- 误操作风险:批量删除或更新操作可能不可逆,建议先测试再生产执行
- 第三方依赖:虽然 Skill 本身零依赖,但功能完全依赖 Maton 和 Attio 服务稳定性
ctrl.maton.ai 管理多个 Attio 工作区连接- 依赖 Maton 服务可用性:网关故障将直接影响功能使用
- 速率限制:Attio API 限制读取 100 req/s、写入 25 req/s
- OAuth 范围限制:部分功能(Lists、Notes、Webhooks)需额外授权
- 无离线能力:纯云端代理模式,无法本地缓存或离线操作
- Maton 平台绑定:必须使用 Maton API Key,无法直接对接 Attio
适合人群
- 需要快速集成 Attio CRM 的自动化工作流开发者
- 希望避免 OAuth 实现复杂性的技术团队
- 使用 Python/JavaScript 进行数据同步、报表生成的数据工程师
- 需要批量操作 CRM 记录的销售运营团队
常规风险
- API 密钥泄露:
MATON_API_KEY 若暴露可能导致 Attio 数据被非法访问
- 数据合规风险:CRM 数据涉及客户隐私,需确保符合当地数据保护法规
- 误操作风险:批量删除或更新操作可能不可逆,建议先测试再生产执行
- 第三方依赖:虽然 Skill 本身零依赖,但功能完全依赖 Maton 和 Attio 服务稳定性
- API 密钥泄露:
MATON_API_KEY若暴露可能导致 Attio 数据被非法访问 - 数据合规风险:CRM 数据涉及客户隐私,需确保符合当地数据保护法规
- 误操作风险:批量删除或更新操作可能不可逆,建议先测试再生产执行
- 第三方依赖:虽然 Skill 本身零依赖,但功能完全依赖 Maton 和 Attio 服务稳定性
技能正文
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:
- MATON_API_KEY
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
# 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}
# 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
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:
export MATON_API_KEY="YOUR_API_KEY"
Getting Your API Key
- Sign in or create an account at maton.ai
- Go to maton.ai/settings
- Copy your API key
Connection Management
Manage your Attio OAuth 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=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
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
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
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
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
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
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": "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
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
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
If you have multiple Attio 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/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
GET /attio/v2/objects
GET /attio/v2/objects
Returns all system-defined and custom objects in your workspace.
Get Object
GET /attio/v2/objects/{object}
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
GET /attio/v2/objects/{object}/attributes
GET /attio/v2/objects/{object}/attributes
Returns all attributes for an object.
Records
Records are the actual data entries (people, companies, etc.).
Query Records
POST /attio/v2/objects/{object}/records/query
Content-Type: application/json
{
"limit": 50,
"offset": 0,
"filter": {},
"sorts": []
}
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 skipfilter: Filter criteria objectsorts: Array of sort specifications
Get Record
GET /attio/v2/objects/{object}/records/{record_id}
Create Record
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"]
}
}
}
GET /attio/v2/objects/{object}/records/{record_id}
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
PATCH /attio/v2/objects/{object}/records/{record_id}
Content-Type: application/json
{
"data": {
"values": {
"job_title": "Software Engineer"
}
}
}
Delete Record
DELETE /attio/v2/objects/{object}/records/{record_id}
Tasks
List Tasks
GET /attio/v2/tasks?limit=50
PATCH /attio/v2/objects/{object}/records/{record_id}
Content-Type: application/json
{
"data": {
"values": {
"job_title": "Software Engineer"
}
}
}
DELETE /attio/v2/objects/{object}/records/{record_id}
Tasks
List Tasks
GET /attio/v2/tasks?limit=50
Query parameters:
limit: Maximum results (default 500)offset: Number to skipsort:created_at:ascorcreated_at:desclinked_object: Filter by object type (e.g.,people)linked_record_id: Filter by specific recordassignee: Filter by assignee email/IDis_completed: Filter by completion status (true/false)
Get Task
GET /attio/v2/tasks/{task_id}
Create Task
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"
}
]
}
}
GET /attio/v2/tasks/{task_id}
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
PATCH /attio/v2/tasks/{task_id}
Content-Type: application/json
{
"data": {
"is_completed": true
}
}
Delete Task
DELETE /attio/v2/tasks/{task_id}
Workspace Members
List Workspace Members
GET /attio/v2/workspace_members
Get Workspace Member
GET /attio/v2/workspace_members/{workspace_member_id}
Self (Token Info)
Identify Current Token
GET /attio/v2/self
PATCH /attio/v2/tasks/{task_id}
Content-Type: application/json
{
"data": {
"is_completed": true
}
}
DELETE /attio/v2/tasks/{task_id}
Workspace Members
List Workspace Members
GET /attio/v2/workspace_members
Get Workspace Member
GET /attio/v2/workspace_members/{workspace_member_id}
Self (Token Info)
Identify Current Token
GET /attio/v2/self
GET /attio/v2/workspace_members/{workspace_member_id}
Identify Current Token
GET /attio/v2/self
Returns workspace info and OAuth scopes for the current access token.
Comments
Create Comment on Record
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 withobjectslug andrecord_id(for record comments)entry: Object withlistslug andentry_id(for list entry comments)thread_id: UUID of existing thread (for replies)
Reply to Comment Thread
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
GET /attio/v2/lists
Get List
GET /attio/v2/lists/{list_id}
List Entries
Query List Entries
POST /attio/v2/lists/{list}/entries/query
Content-Type: application/json
{
"limit": 50,
"offset": 0,
"filter": {},
"sorts": []
}
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}"
}
}
List All Lists
GET /attio/v2/lists
GET /attio/v2/lists/{list_id}
List Entries
Query List Entries
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 skipfilter: Filter criteria objectsorts: Array of sort specifications
Create List Entry
POST /attio/v2/lists/{list}/entries
Content-Type: application/json
{
"data": {
"parent_record_id": "{record_id}",
"parent_object": "companies",
"entry_values": {}
}
}
Get List Entry
GET /attio/v2/lists/{list}/entries/{entry_id}
Update List Entry
PATCH /attio/v2/lists/{list}/entries/{entry_id}
Content-Type: application/json
{
"data": {
"entry_values": {
"status": "Active"
}
}
}
Delete List Entry
DELETE /attio/v2/lists/{list}/entries/{entry_id}
Notes
List Notes
GET /attio/v2/notes?limit=50
POST /attio/v2/lists/{list}/entries
Content-Type: application/json
{
"data": {
"parent_record_id": "{record_id}",
"parent_object": "companies",
"entry_values": {}
}
}
GET /attio/v2/lists/{list}/entries/{entry_id}
Update List Entry
PATCH /attio/v2/lists/{list}/entries/{entry_id}
Content-Type: application/json
{
"data": {
"entry_values": {
"status": "Active"
}
}
}
Delete List Entry
DELETE /attio/v2/lists/{list}/entries/{entry_id}
Notes
List Notes
GET /attio/v2/notes?limit=50
PATCH /attio/v2/lists/{list}/entries/{entry_id}
Content-Type: application/json
{
"data": {
"entry_values": {
"status": "Active"
}
}
}
DELETE /attio/v2/lists/{list}/entries/{entry_id}
Notes
List Notes
GET /attio/v2/notes?limit=50
Query parameters:
limit: Maximum results (default 10, max 50)offset: Number to skipparent_object: Object slug containing notesparent_record_id: Filter by specific record
Get Note
GET /attio/v2/notes/{note_id}
Create Note
POST /attio/v2/notes
Content-Type: application/json
{
"data": {
"format": "plaintext",
"title": "Meeting Summary",
"content": "Discussed Q1 goals and roadmap priorities.",
"parent_object": "companies",
"parent_record_id": "{record_id}",
"created_by_actor": {
"type": "workspace-member",
"id": "{workspace_member_id}"
}
}
}
GET /attio/v2/notes/{note_id}
POST /attio/v2/notes
Content-Type: application/json
{
"data": {
"format": "plaintext",
"title": "Meeting Summary",
"content": "Discussed Q1 goals and roadmap priorities.",
"parent_object": "companies",
"parent_record_id": "{record_id}",
"created_by_actor": {
"type": "workspace-member",
"id": "{workspace_member_id}"
}
}
}
Required fields: format, content, parent_object, parent_record_id
Delete Note
DELETE /attio/v2/notes/{note_id}
Meetings
List Meetings
GET /attio/v2/meetings?limit=50
DELETE /attio/v2/notes/{note_id}
List Meetings
GET /attio/v2/meetings?limit=50
Query parameters:
limit: Maximum results (default 50, max 200)cursor: Pagination cursor from previous response
Uses cursor-based pagination.
Get Meeting
GET /attio/v2/meetings/{meeting_id}
Call Recordings
GET /attio/v2/meetings/{meeting_id}
Call recordings are accessed through meetings.
List Call Recordings for Meeting
GET /attio/v2/meetings/{meeting_id}/call_recordings?limit=50
GET /attio/v2/meetings/{meeting_id}/call_recordings?limit=50
Query parameters:
limit: Maximum results (default 50, max 200)cursor: Pagination cursor from previous response
Get Call Recording
GET /attio/v2/meetings/{meeting_id}/call_recordings/{call_recording_id}
Pagination
GET /attio/v2/meetings/{meeting_id}/call_recordings/{call_recording_id}
Attio supports two pagination methods:
Limit/Offset Pagination
GET /attio/v2/tasks?limit=50&offset=0
GET /attio/v2/tasks?limit=50&offset=50
GET /attio/v2/tasks?limit=50&offset=100
Cursor-Based Pagination (for some endpoints)
GET /attio/v2/meetings?limit=50
GET /attio/v2/meetings?limit=50&cursor={next_cursor}
GET /attio/v2/tasks?limit=50&offset=0
GET /attio/v2/tasks?limit=50&offset=50
GET /attio/v2/tasks?limit=50&offset=100
GET /attio/v2/meetings?limit=50
GET /attio/v2/meetings?limit=50&cursor={next_cursor}
Response includes pagination.next_cursor when more results exist.
Code Examples
JavaScript
// Query company records
const response = await fetch(
'https://gateway.maton.ai/attio/v2/objects/companies/records/query',
{
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.MATON_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({ limit: 10 })
}
);
const data = await response.json();
Python
import os
import requests
# Query company records
response = requests.post(
'https://gateway.maton.ai/attio/v2/objects/companies/records/query',
headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
json={'limit': 10}
)
data = response.json()
Usage Notes
- Object slugs are lowercase snake_case (e.g.,
people, companies)
- Record IDs and other IDs are UUIDs
- For personal-name attributes, always include
full_name when creating records
- Task creation requires
format: "plaintext", deadline_at, assignees array (can be empty), and linked_records array (can be empty)
- Note creation requires
format, content, parent_object, and parent_record_id
- Comment creation requires
format, content, author, plus one of record, entry, or thread_id
- Meetings use cursor-based pagination
- Some endpoints require additional OAuth scopes (lists, notes, webhooks)
- Rate limits: 100 read requests/second, 25 write requests/second
- Pagination uses
limit and offset parameters (or cursor for meetings)
- IMPORTANT: When using curl commands, use
curl -g when URLs contain brackets 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
Error Handling
Status
Meaning
400
Missing Attio connection or validation error
401
Invalid or missing Maton API key
403
Insufficient OAuth scopes
404
Resource not found
429
Rate limited
4xx/5xx
Passthrough error from Attio API
Troubleshooting: API Key Issues
- Check that the
MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
- 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
Troubleshooting: Insufficient Scopes
import os
import requests
# Query company records
response = requests.post(
'https://gateway.maton.ai/attio/v2/objects/companies/records/query',
headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
json={'limit': 10}
)
data = response.json()
- Object slugs are lowercase snake_case (e.g.,
people,companies) - Record IDs and other IDs are UUIDs
- For personal-name attributes, always include
full_namewhen creating records - Task creation requires
format: "plaintext",deadline_at,assigneesarray (can be empty), andlinked_recordsarray (can be empty) - Note creation requires
format,content,parent_object, andparent_record_id - Comment creation requires
format,content,author, plus one ofrecord,entry, orthread_id - Meetings use cursor-based pagination
- Some endpoints require additional OAuth scopes (lists, notes, webhooks)
- Rate limits: 100 read requests/second, 25 write requests/second
- Pagination uses
limitandoffsetparameters (orcursorfor meetings) - IMPORTANT: When using curl commands, use
curl -gwhen URLs contain brackets to disable glob parsing - IMPORTANT: When piping curl output to
jqor other commands, environment variables like$MATON_API_KEYmay not expand correctly in some shell environments
Error Handling
Status
Meaning
400
Missing Attio connection or validation error
401
Invalid or missing Maton API key
403
Insufficient OAuth scopes
404
Resource not found
429
Rate limited
4xx/5xx
Passthrough error from Attio API
Troubleshooting: API Key Issues
| Status | Meaning |
|---|---|
| 400 | Missing Attio connection or validation error |
| 401 | Invalid or missing Maton API key |
| 403 | Insufficient OAuth scopes |
| 404 | Resource not found |
| 429 | Rate limited |
| 4xx/5xx | Passthrough error from Attio API |
- Check that the
MATON_API_KEYenvironment variable is set:
echo $MATON_API_KEY
- 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
Troubleshooting: Insufficient Scopes
If you receive a 403 error about missing scopes, contact Maton support at support@maton.ai with the specific operations/APIs you need and your use-case.
Troubleshooting: Invalid App Name
- Ensure your URL path starts with
attio. For example:
- Correct:
https://gateway.maton.ai/attio/v2/objects
- Incorrect:
https://gateway.maton.ai/v2/objects
Resources
attio. For example:https://gateway.maton.ai/attio/v2/objectshttps://gateway.maton.ai/v2/objects正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。