Install
openclaw skills install attio-cliCommand-line tool to list, get, and manage objects, records, and lists in your Attio CRM workspace via the Attio API.
openclaw skills install attio-cliInteract with your Attio CRM workspace via the attio-cli.
git clone https://github.com/FroeMic/attio-cli
cd attio-cli
npm install
npm link
ATTIO_API_KEY environment variable (get it from Attio Settings > Developers > API Keys):
~/.claude/.env for Claude Code~/.bashrc or ~/.zshrc: export ATTIO_API_KEY="your-api-key"Repository: https://github.com/FroeMic/attio-cli
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 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.
| 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 |
https://api.attio.com/v2Authorization: Bearer $ATTIO_API_KEYSearch 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>"}}'
generate-schema.sh after installing to create a workspace schema file with all your objects, lists, and field options.jq for JSON processing in schema generation.