/install attio-cli
attio-cli
Interact with your Attio CRM workspace via the attio-cli.
Install
- Clone and install the CLI:
git clone https://github.com/FroeMic/attio-cli
cd attio-cli
npm install
npm link
- Set
ATTIO_API_KEYenvironment variable (get it from Attio Settings > Developers > API Keys):- Recommended: Add to
~/.claude/.envfor Claude Code - Alternative: Add to
~/.bashrcor~/.zshrc:export ATTIO_API_KEY="your-api-key"
- Recommended: Add to
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 \x3Clist-slug> # List entries in a list
Get detailed info:
attio object get \x3Cobject-slug> # Get object details
attio object attributes \x3Cobject-slug> # Get object attributes
attio list attributes \x3Clist-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
| Concept | Purpose | Example |
|---|---|---|
| Objects | Base record types | People, Companies, Deals |
| Lists | Pipeline/workflow management | Sales Pipeline, Hiring |
| Records | Individual items in objects | A specific person or company |
| Entries | Records added to a list | A 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": "[email protected]"}}}'
Create a record:
curl -X POST https://api.attio.com/v2/objects/\x3Cobject-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/\x3Clist-slug>/entries \
-H "Authorization: Bearer $ATTIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": {"parent_record_id": "\x3Crecord-id>"}}'
Notes
- Run
generate-schema.shafter 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
jqfor JSON processing in schema generation.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install attio-cli - After installation, invoke the skill by name or use
/attio-cli - Provide required inputs per the skill's parameter spec and get structured output
What is Attio CRM CLI?
Command-line tool to list, get, and manage objects, records, and lists in your Attio CRM workspace via the Attio API. It is an AI Agent Skill for Claude Code / OpenClaw, with 1576 downloads so far.
How do I install Attio CRM CLI?
Run "/install attio-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Attio CRM CLI free?
Yes, Attio CRM CLI is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Attio CRM CLI support?
Attio CRM CLI is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Attio CRM CLI?
It is built and maintained by FroeMic (@froemic); the current version is v1.0.0.