← 返回
沟通协作 Key 中文

Attio CRM CLI

Command-line tool to list, get, and manage objects, records, and lists in your Attio CRM workspace via the Attio API.
通过 Attio API 列出、获取及管理 Attio CRM 工作区中对象、记录与列表的命令行工具。
froemic
沟通协作 clawhub v1.0.0 1 版本 99853 Key: 需要
★ 0
Stars
📥 2,038
下载
💾 1
安装
1
版本
#latest

概述

attio-cli

Interact with your Attio CRM workspace via the attio-cli.

Install

  1. Clone and install the CLI:
  2. git clone https://github.com/FroeMic/attio-cli
    cd attio-cli
    npm install
    npm link
    
  1. Set ATTIO_API_KEY environment variable (get it from Attio Settings > Developers > API Keys):
    • Recommended: Add to ~/.claude/.env for Claude Code
    • Alternative: Add to ~/.bashrc or ~/.zshrc: export ATTIO_API_KEY="your-api-key"

Repository: https://github.com/FroeMic/attio-cli

Commands

List objects and records:

attio object list                      # List all objects
attio record list people               # List people records
attio record list companies            # List company records

Work with lists (pipelines):

attio list list-all                    # List all lists
attio entry list <list-slug>           # List entries in a list

Get detailed info:

attio object get <object-slug>         # Get object details
attio object attributes <object-slug>  # Get object attributes
attio list attributes <list-slug>      # Get list entry attributes

Generate Workspace Schema

Generate a markdown schema of your workspace for context:

bash {baseDir}/scripts/generate-schema.sh > {baseDir}/workspace.schema.md

This creates a reference file documenting all objects, attributes, lists, and field options in your workspace.

Key Concepts

ConceptPurposeExample
---------------------------
ObjectsBase record typesPeople, Companies, Deals
ListsPipeline/workflow managementSales Pipeline, Hiring
RecordsIndividual items in objectsA specific person or company
EntriesRecords added to a listA deal in the Sales Pipeline

API Reference

  • Base URL: https://api.attio.com/v2
  • Auth: Authorization: Bearer $ATTIO_API_KEY
  • Rate Limits: 100 requests per 10 seconds per workspace

Common API Operations

Search for a person:

curl -X POST https://api.attio.com/v2/objects/people/records/query \
  -H "Authorization: Bearer $ATTIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filter": {"email_addresses": {"contains": "john@example.com"}}}'

Create a record:

curl -X POST https://api.attio.com/v2/objects/<object-slug>/records \
  -H "Authorization: Bearer $ATTIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": {"values": {"name": [{"value": "Record Name"}]}}}'

Add entry to a list:

curl -X POST https://api.attio.com/v2/lists/<list-slug>/entries \
  -H "Authorization: Bearer $ATTIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": {"parent_record_id": "<record-id>"}}'

Notes

  • Run generate-schema.sh after installing to create a workspace schema file with all your objects, lists, and field options.
  • Lists are commonly used to manage pipelines (sales stages, hiring workflows, etc.).
  • The CLI requires jq for JSON processing in schema generation.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 19:03 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,678
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,585
developer-tools

Notion CLI – Command Line Interface based access to Notion for your agent

froemic
{ "answer": "通过命令行访问和管理 Notion 工作区,支持搜索、创建、更新和删除页面、数据库、块、用户及评论,并提供多种输出格式。" }
★ 2 📥 3,426