Attio CRM
Manage Attio CRM via REST API. Supports companies, people, deals, lists (pipelines), notes, and tasks.
Setup
Set ATTIO_API_KEY in environment or ~/.env:
CODEBLOCK0
Get your API key: Attio → Workspace Settings → Developers → New Access Token
Quick Reference
Objects (Records)
CODEBLOCK1
Lists (Pipelines)
CODEBLOCK2
Notes
CODEBLOCK3
Tasks
CODEBLOCK4
Examples
Find a company and add a note
CODEBLOCK5
Work with pipeline
CODEBLOCK6
Create a follow-up task
CODEBLOCK7
API Limits
- Rate limit: ~100 requests/minute Pagination: Use limit and offset params for large datasets
Full API Docs
https://docs.attio.com/
Attio CRM
通过REST API管理Attio CRM。支持公司、联系人、交易、列表(管道)、笔记和任务。
设置
在环境变量或~/.env文件中设置ATTIOAPI KEY:
bash
echo ATTIOAPI KEY=yourapi key >> ~/.env
获取API密钥:Attio → 工作区设置 → 开发者 → 新建访问令牌
快速参考
对象(记录)
bash
列出/搜索记录
attio objects list # 列出可用对象
attio records list
# 列出记录(公司、联系人、交易等)
attio records search # 按文本搜索
attio records get # 获取单条记录
attio records create # 创建记录
attio records update # 更新记录
列表(管道)
bash
attio lists list # 显示所有管道/列表
attio entries list # 列出管道中的条目
attio entries add slug> id> # 将记录添加到管道
笔记
bash
attio notes list # 记录上的笔记
attio notes create
任务
bash
attio tasks list # 所有任务
attio tasks create [deadline] # 创建任务(截止日期:YYYY-MM-DD)
attio tasks complete # 标记为完成
示例
查找公司并添加笔记
bash
搜索公司
attio records search companies Acme
为公司添加笔记(使用搜索结果的record_id)
attio notes create companies abc123-uuid 通话记录 讨论了第一季度路线图...
使用管道
bash
列出管道阶段
attio entries list sales_pipeline
将公司添加到管道
attio entries add sales_pipeline companies abc123-uuid
创建跟进任务
bash
attio tasks create 跟进Acme公司的John 2024-02-15
API限制
- 速率限制:约100次请求/分钟 分页:对于大数据集,使用limit和offset参数
完整API文档
https://docs.attio.com/