Rillo
Request a demo 30 minutes, with a person

Nine industries

Not on the list? Tell us what you sell

Rillo API

Use Rillo inside Claude or ChatGPT.

Ask about your customers, deals and day in plain words. Your assistant reads your book, adds notes and drafts the follow-ups. Nothing sends, charges or deletes without your yes in Rillo.

Rillo's Waiting room: a call script drafted for a person, with Call and Not now
What your assistant drafts waits here, in Waiting, until you say yes. Captured from the app.

Three steps

About two minutes, in the Claude or ChatGPT you already use. Any paid Rillo seat includes it.

  1. 1

    Connect

    In Claude, open Customize, then Connectors, then Add custom connector. In ChatGPT, turn on developer mode and add an app. Paste this address, then sign in to Rillo when it asks:

    rilloapp.com/api/mcp

  2. 2

    Choose what it may do

    Rillo shows its own screen before anything connects. The owner chooses what an assistant may do, for the whole company or for one person: read the book, add notes and tasks, draft messages, edit records, book time, run the shop.

    Change it or switch it off any time in Settings, Connect Rillo to your AI. Switching it off stops it at once.

  3. 3

    Ask

    Ask the way you would ask a person on your team:

    • “Who has gone quiet this month?”
    • “What is on my plate today?”
    • “Draft a follow-up to everyone from Tuesday's open house.”
    • “Move Thursday's 2pm to Friday at the same time.”

What it can do, and what it never does

128 things an assistant can do in Rillo, each behind a switch the owner holds. 77 of them change something, and every change can be undone for ten minutes.

It can

  • Read your book Find a person or company, open a record, see today's moves, plan the week, sum up the pipeline.
  • Add notes and tasks A note on a record or a task with a day, saved at once, each one undone with a tap for ten minutes.
  • Draft messages Follow-ups, texts, posts, quotes and team messages, written for you and waiting under Waiting for your yes.
  • Keep records up to date Add or edit people, companies and deals, and log a call or a visit. Never a delete, never a stage.
  • Book time Find open times and book, move or ask to cancel a meeting, by your booking page's own rules.
  • Run the shop For a shop owner: change a price, mark Sold out today, add a walk-in, edit the website's words.

It never does

  • Send an email or a text It drafts; you send it from Rillo.
  • Charge, refund or take a payment A person does that in Rillo.
  • Delete anything Only the owner and admins delete, in Rillo.
  • Move a deal to another stage It asks; a person says yes in Rillo.
  • Change your plan, seats or billing Only the owner, in Settings.
  • Change who a record belongs to Only in Rillo.

Every call is logged with who, what and when (never the words sent), and the owner sees it in Settings.

Connect Zapier or Make

Start a Zap or a Make scenario when something happens in Rillo, like a booking made or a deal won, and act in Rillo from one.

  1. 1

    Make a key

    The owner or an admin makes one in Settings, Connect Rillo to your AI, names it and picks what it may do.

  2. 2

    Start from Rillo

    In Zapier add a Webhooks step (Catch Hook); in Make a custom webhook. Paste its address into Rillo and pick the events.

  3. 3

    Act in Rillo

    Add a step that calls Rillo with your key, like adding a note or drafting a follow-up. The calls are below.

Good to know

  • Rillo's own Zapier and Make apps are built They are not in Zapier's or Make's public listings yet. This page says so the day they are.
  • The same switches and the same never A Zap can do only what its key may, and nothing it does sends, charges or deletes.
  • Need a hand? Write to Rillo support with what you want to happen, and a person answers.

For developers

Build on Rillo

Keys, the MCP server, the HTTPS API, webhooks and the reference. Every term the steps above leave out is here, explained once.

MCP

Model Context Protocol: the standard way an AI assistant reaches another app's tools. Rillo's MCP server is the address in step 1.

Scopes

What a key or a connection may do, one permission each. The owner's switches above are scopes.

Sign-in (OAuth)

Signing in to Rillo instead of pasting a key: what Claude and ChatGPT do in step 1.

Idempotency

Sending the same write twice makes one change, not two, so a retry is always safe.

One door, three ways in

An AI assistant, an outside app and a website all reach a Rillo company through the same door, under the same rules: each call reaches only what the company's owner allowed, every change can be undone for ten minutes, and nothing is ever sent, charged, deleted or moved to another stage from outside Rillo.

What it is For
The MCP connector Rillo's MCP server at https://rilloapp.com/api/mcp, with OAuth: the person ticks what it may do on Rillo's own screen and presses Allow. Every tool Claude, ChatGPT, Gemini and Claude Code
The HTTPS API The same tools at https://rilloapp.com/api/v1, with lists, export, idempotent writes, signed webhooks and an OpenAPI file. The API Your app, Zapier and Make
The Website Receptionist The chat on a business's own website, booking page, shop site and card: in the website's own look and the business's own face, answering in its own words and booking through its own rules. Every chat says Powered by Rillo. The first plug-in on this door. One line installs it. An app or an agency's own front end talks to the same Receptionist with the company's key: POST /api/storefront/key, checked by the same key gate as the MCP connector and the API. Websites and the agencies that build them

Included in every paid seat: the MCP connector and the API. No separate API plan and no price per call. Plans

Agencies and software partners reach each client company with one key, on that owner's yes, which the owner takes back at any time. How partners work

Quickstart

From nothing to a working call in about two minutes, against a sandbox that can never touch a real book.

  1. Make a test key

    In Rillo, open Settings, Connections, Assistants and API and press Make a test key. An owner or admin makes it, and Rillo shows it once: copy it then. It reads rillo_test_ and 43 more characters.

  2. Make a call

    Ask who the key is, then search the sandbox's book. The key below is an example: use your own.

    curl
    curl https://rilloapp.com/api/v1/me \
      -H "Authorization: Bearer rillo_test_YOUR_TEST_KEY"
    
    curl -X POST https://rilloapp.com/api/v1/search_book \
      -H "Authorization: Bearer rillo_test_YOUR_TEST_KEY" \
      -H "Content-Type: application/json" \
      -d '{"query":"McLaughlin","limit":5}'
    TypeScript
    import { Rillo } from './sdk';
    
    const client = new Rillo({ apiKey: process.env.RILLO_KEY });
    const found = await client.searchBook({query: 'McLaughlin', limit: 5});
    Answer from search_book
    {
      "query": "McLaughlin",
      "count": 1,
      "records": [
        {
          "id": "c_8kq2vd3m",
          "name": "Gina McLaughlin",
          "company": "Ricks & Sons Produce",
          "stage": "Customer",
          "phone": "602-555-0142",
          "owner": "Brittany Stanley"
        }
      ]
    }
  3. Connect an assistant

    Give your assistant the MCP address, https://rilloapp.com/api/mcp. Claude and ChatGPT sign in with it: the person ticks what the assistant may do on Rillo's own screen and presses Allow. No key is pasted anywhere.

    Claude Code, or any client that sends a header, can use a key instead:

    Terminal
    claude mcp add --transport http rillo https://rilloapp.com/api/mcp \
      --header "Authorization: Bearer rillo_test_YOUR_TEST_KEY"

Test mode

A test key reaches one sandbox company of its own, named for yours (Test, your company's name, Sandbox), seeded with a practice book for your trade or your kind of shop: people, deals, bookings and a menu to build against. It never reaches a real book, and it is never refused for a plan, so you can build before anyone pays.

Test key Live key
Starts with rillo_test_ rillo_k_
Reaches The sandbox company only Your company's real book
Plan Never refused for a plan Comes with every paid seat
Reset POST /api/v1/sandbox puts the seeded book back None: nothing in a real book is wiped
Made by An owner or admin, with Make a test key An owner or admin
Shown Once, then kept only as a hash Once, then kept only as a hash

Reset the sandbox

Call it whenever a test leaves the book in a state you do not want. Only a test key can: a live key is answered 403 test_only.

curl
curl -X POST https://rilloapp.com/api/v1/sandbox \
  -H "Authorization: Bearer rillo_test_YOUR_TEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"reset"}'

Authentication

Two ways in, with the same tools, permissions and limits behind both: a key your company makes, or an assistant that signs in.

API keys

Send the key as a Bearer token on every call: Authorization: Bearer rillo_k_.... A live key reads rillo_k_ and a test key rillo_test_, each with 43 more characters. A key acts as the person who made it, with the permissions it was given.

Sign in with OAuth 2.1

An assistant can sign in instead of holding a key. Rillo runs OAuth 2.1 for its MCP server: the authorization code flow with PKCE (S256 only), dynamic client registration and rotating refresh tokens. The person signs in to Rillo and sees, on Rillo's own consent screen, a box for each permission, which they can untick. A client finds everything from the MCP address: a call without a token is answered 401 with the resource metadata.

Endpoint Address
Protected resource https://rilloapp.com/.well-known/oauth-protected-resource/api/mcp
Authorization server https://rilloapp.com/.well-known/oauth-authorization-server
Authorize https://rilloapp.com/authorize
Token https://rilloapp.com/api/v1/token
Register https://rilloapp.com/api/v1/register
Revoke https://rilloapp.com/api/v1/revoke

Scopes

Each permission is its own scope. A key or a sign-in holds only the ones it was given, and a tool whose scope it lacks is refused.

Permission Scope What it allows
Read the book book.read Search people and companies, open a record, list today's moves.
Write notes and tasks notes.write Add a note or a task to a record. It lands in Rillo marked with the key or the assistant that wrote it.
Draft messages drafts.write Draft a follow-up. It waits in Rillo for a person's yes. Nothing sends from outside Rillo.
Search answers answers.read Search Rillo's answers library for how-tos.
Add and edit people and companies people.write Add a person or a company to your own book and change their name, company, email, phone or address. Each change can be undone for ten minutes. Never deletes.
Add and edit deals deals.write Add a deal to your own book and change its value and next step. A stage move is never made from here: a person moves it in Rillo. Never deletes.
Log activities activities.write Log a call, a meeting or a visit on a record in your own book. It can be undone for ten minutes.
Make tasks tasks.write Add a task on a record in your own book. It can be undone for ten minutes.
Change prices and Sold out today shop.menu.write The shop owner only: change a menu item's price, or mark it Sold out today. Each change can be undone for ten minutes.
Edit your website's words shop.pages.write The shop owner only: change the line about your shop, the line under it, or the About text. It can be undone for ten minutes.
Book visits shop.bookings.write The shop owner only: book a visit through your own booking rules, the way you add a phone booking. Nothing is charged and nothing is sent. It can be undone for ten minutes.
Book time on your calendar bookings.write Book a meeting on your own calendar through your booking page's own rules, the way a person books it. Nothing is sent and nothing is charged. It can be undone for ten minutes.
Mark leads leads.write Mark a record Not a lead (it leaves your counts, nothing is deleted, undo for ten minutes), or ask for a deal to be marked lost: that waits in Rillo for a person's yes before anything moves.
Draft posts and Reach fixes posts.write Draft a Google post, a review reply or a Reach fix. Each waits in Rillo for a person's yes; nothing is published from outside.
See the shop's day shop.read Today's visits, walk-ins, the waitlist and who is free, your clients and who is due back, the menu and prices. Read only.
See takings and payments pay.read What came in today and this week, by card, cash and tips, and the payments themselves. Read only: nothing is ever charged or refunded from here.
See your card, Rillodex and events connect.read Your Rillo card and its share link and QR, the people you met, your events and who checked in. Read only.
Save cards and draft events connect.write Save a card someone shared into your own Rillodex (nothing is sent to them), or draft an event that goes live only when you say yes in Rillo.
See how customers find you reach.read Where you stand on Google, Maps and AI this month, the questions buyers ask, and this week's drafted posts. Read only.

Step-up

A signed-in assistant that calls a tool past its grant is not cut off. Over MCP it is answered as the tool's own result, in words, with a link to Rillo's screen for that one permission (the scopes are in the result's _meta and the WWW-Authenticate header too): the person taps Allow, asks again, and the same connection keeps everything it already had. Assistants' apps often drop the body of an HTTP 403, so MCP never relies on one. The HTTPS API answers 403 with the scopes it holds plus the one it needs. A key that lacks a scope is refused, and an owner or admin makes a new key with it.

The HTTPS API: a signed-in call to shop_today without shop.read
HTTP/1.1 403 Forbidden
Content-Type: application/json
WWW-Authenticate: Bearer error="insufficient_scope", scope="book.read notes.write shop.read", resource_metadata="https://rilloapp.com/.well-known/oauth-protected-resource/api/mcp", error_description="This needs one more permission: 'See the shop's day'. Approve it on Rillo's screen and this connection keeps everything it already had."

{
  "error": "insufficient_scope",
  "scope_needed": "shop.read",
  "message": "This needs one more permission: \"See the shop's day\". Approve it on Rillo's screen and this connection keeps everything it already had."
}

The MCP server and its tools

Rillo runs a remote MCP server, the standard way AI assistants reach other tools, at https://rilloapp.com/api/mcp. It speaks Streamable HTTP and answers each request on its own: one JSON-RPC message per POST, one JSON answer. Supported protocol versions: 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05.

Connect your assistant

  • Claude (claude.ai, the desktop app and Cowork): Customize, then Connectors, then Add custom connector. Paste https://rilloapp.com/api/mcp and sign in.
  • Claude Code, in a terminal:
    Terminal
    claude mcp add --transport http rillo https://rilloapp.com/api/mcp \
      --header "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE"
    In a shared .mcp.json, write the key as ${RILLO_KEY} so it never lands in the file.
  • ChatGPT (an app in developer mode) signs in: add https://rilloapp.com/api/mcp and choose OAuth. A custom GPT can use the HTTPS API instead: in its Actions, import https://rilloapp.com/api/v1/openapi.json.
  • Gemini CLI:
    Terminal
    gemini mcp add --transport http \
      --header "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
      rillo https://rilloapp.com/api/mcp
  • The Gemini app (personal Google accounts in the US): in Gemini's settings, open Connected Apps, Add a custom app, paste https://rilloapp.com/api/mcp, then allow it on Rillo's screen. Gemini registers itself, so no client ID is typed.
  • Gemini Enterprise: a Google Cloud admin adds a custom MCP connector with the client ID and secret your owner makes in Rillo (Settings, Connections, Assistants and API), with Google's return address https://vertexaisearch.cloud.google.com/oauth-redirect.

The tools

All 128 tools, the same over MCP and HTTPS. An assistant sees only the tools its key or sign-in allows. Each change a tool makes lands through Rillo's own save rules, shows who made it, and answers an undo token good for ten minutes.

CRM 100

People, companies, deals, notes, tasks, drafts and your calendar.

search_book book.read Reads only

Search people and companies by name, company, email, phone or stage. Up to 20 matches, each with the record id every other tool takes.

Example
POST /api/v1/search_book
{
  "query": "McLaughlin",
  "limit": 5
}
Answer
{
  "query": "McLaughlin",
  "count": 1,
  "records": [
    {
      "id": "c_8kq2vd3m",
      "name": "Gina McLaughlin",
      "company": "Ricks & Sons Produce",
      "stage": "Customer",
      "phone": "602-555-0142",
      "owner": "Brittany Stanley"
    }
  ]
}
get_record book.read Reads only

Open one record: contact details, stage, deal value, the latest notes, open tasks, follow-ups and drafts waiting.

Example
POST /api/v1/get_record
{
  "id": "c_8kq2vd3m"
}
Answer
{
  "id": "c_8kq2vd3m",
  "name": "Gina McLaughlin",
  "company": "Ricks & Sons Produce",
  "role": "Purchasing manager",
  "stage": "Customer",
  "value": "18,500",
  "notes": [
    {
      "at": "2026-10-15T17:10:00Z",
      "type": "call",
      "title": "Call",
      "body": "Wants the Tuesday pickups moved to Monday."
    }
  ],
  "tasks": [
    {
      "title": "Send the revised route sheet",
      "due": "2026-10-20"
    }
  ],
  "drafts_waiting": 1
}
todays_moves book.read Reads only

For the person connected: what is overdue and due today, who to call and why, and the deals gone quiet.

Example
POST /api/v1/todays_moves
{}
Answer
{
  "for": "Brittany Stanley",
  "overdue": [
    {
      "title": "Call back about the fuel surcharge",
      "who": "Gina McLaughlin"
    }
  ],
  "today": [
    {
      "title": "Confirm the yard walk",
      "who": "Denise Wilson"
    }
  ],
  "quiet": [
    {
      "name": "Lilia Solorio",
      "days": 16,
      "why": "Quote sent, no answer"
    }
  ]
}
add_note notes.write Changes Rillo

Add a note to a record. Saved at once, marked as written through the connection.

Example
POST /api/v1/add_note
{
  "id": "c_8kq2vd3m",
  "note": "Asked for a price on two more stops each week."
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "what": "note",
  "lands": "Saved on the record in Rillo now.",
  "undo": {
    "token": "cx_7a3f9c2e8b1d4f6a0c5e9b2d",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
add_task notes.write Changes Rillo

Add a task on a record, with a due day if it has one.

Example
POST /api/v1/add_task
{
  "id": "c_8kq2vd3m",
  "title": "Send the revised route sheet",
  "due": "2026-10-20"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "what": "task",
  "title": "Send the revised route sheet",
  "due": "2026-10-20",
  "undo": {
    "token": "cx_a3f9c2e8b1d4f6a0c5e9b2d7",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
draft_follow_up drafts.write Changes Rillo

Draft a follow-up email or text. It waits in Rillo under Waiting for your yes; it is never sent from here.

Example
POST /api/v1/draft_follow_up
{
  "id": "c_8kq2vd3m",
  "channel": "email",
  "subject": "Your Monday pickups",
  "body": "Hi Gina, Monday pickups start next week at the same time. Reply here if anything changes."
}
Answer
{
  "drafted": true,
  "sent": false,
  "channel": "email",
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "waiting": "Waiting for your yes in Rillo now. Nothing was sent.",
  "undo": {
    "token": "cx_3f9c2e8b1d4f6a0c5e9b2d7f",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
draft_text drafts.write Changes Rillo

Draft a text. It waits for a yes, then a person sends it from their own phone.

Example
POST /api/v1/draft_text
{
  "id": "c_8kq2vd3m",
  "body": "Hi Gina, Monday pickups start next week. Does 7am still work?"
}
Answer
{
  "drafted": true,
  "sent": false,
  "channel": "text",
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "waiting": "Waiting for your yes in Rillo now. Nothing was sent.",
  "undo": {
    "token": "cx_f9c2e8b1d4f6a0c5e9b2d7f4",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
draft_follow_up_batch drafts.write Changes Rillo

Draft a follow-up to each of up to 25 records at once, each waiting on its own.

Example
POST /api/v1/draft_follow_up_batch
{
  "items": [
    {
      "id": "c_2hr9xk5b",
      "subject": "The quote from last week",
      "body": "Hi Lilia, any questions on the quote?"
    },
    {
      "id": "c_4tz7wp1n",
      "subject": "Thursday",
      "body": "Hi Denise, still good for the yard walk Thursday?"
    }
  ]
}
Answer
{
  "sent": false,
  "drafted": 2,
  "not_done": 0,
  "results": [
    {
      "id": "c_2hr9xk5b",
      "ok": true,
      "undo": "cx_9c2e8b1d4f6a0c5e9b2d7f4a"
    },
    {
      "id": "c_4tz7wp1n",
      "ok": true,
      "undo": "cx_c2e8b1d4f6a0c5e9b2d7f4a1"
    }
  ],
  "waiting": "2 drafts wait in Rillo for your yes, each on its own. Nothing was sent."
}
draft_text_batch drafts.write Changes Rillo

Draft a text to each of up to 25 records at once, each waiting on its own.

Example
POST /api/v1/draft_text_batch
{
  "items": [
    {
      "id": "c_8kq2vd3m",
      "body": "Monday pickups start next week."
    },
    {
      "id": "c_9cv5jt2y",
      "body": "Your trailer is back from the shop."
    }
  ]
}
Answer
{
  "sent": false,
  "drafted": 2,
  "not_done": 0,
  "results": [
    {
      "id": "c_8kq2vd3m",
      "ok": true,
      "undo": "cx_2e8b1d4f6a0c5e9b2d7f4a1c"
    },
    {
      "id": "c_9cv5jt2y",
      "ok": true,
      "undo": "cx_e8b1d4f6a0c5e9b2d7f4a1c8"
    }
  ],
  "waiting": "2 drafts wait in Rillo for your yes, each on its own. Nothing was sent."
}
search_answers answers.read Reads only

Search Rillo's answers library for your trade: a short answer and its steps, or no good match.

Example
POST /api/v1/search_answers
{
  "query": "How do I bring in my contacts from a spreadsheet?"
}
Answer
{
  "matches": [
    {
      "q": "How do I import my contacts?",
      "short": "Open People, then Import, and drop in the file. Rillo matches the columns and shows you before it saves.",
      "steps": [
        "Open People.",
        "Press Import.",
        "Check the columns, then Save."
      ]
    }
  ]
}
create_record people.write Changes Rillo

Add a person or a company to your own book.

Example
POST /api/v1/create_record
{
  "name": "Lilia Solorio",
  "company": "Collins Vending LLC",
  "phone": "602-555-0187"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_2hr9xk5b",
    "name": "Lilia Solorio"
  },
  "kind": "person",
  "undo": {
    "token": "cx_8b1d4f6a0c5e9b2d7f4a1c8e",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
update_record people.write Changes Rillo

Change a record's name, company, email, phone or address. Never a stage, never a delete.

Example
POST /api/v1/update_record
{
  "id": "c_2hr9xk5b",
  "phone": "602-555-0190"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_2hr9xk5b",
    "name": "Lilia Solorio"
  },
  "changed": [
    "phone"
  ],
  "undo": {
    "token": "cx_b1d4f6a0c5e9b2d7f4a1c8e3",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
create_deal deals.write Changes Rillo

Add a deal, on the first stage of your pipeline.

Example
POST /api/v1/create_deal
{
  "name": "Denise Wilson",
  "company": "Lucas Parcel Service",
  "value": "24,000",
  "next_step": "Walk the yard on Thursday"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_7pd4lw6r",
    "name": "Denise Wilson"
  },
  "stage": "New",
  "value": "24,000",
  "undo": {
    "token": "cx_7a3f9c2e8b1d4f6a0c5e9b2d",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
update_deal deals.write Changes Rillo

Change a deal's value, next step or next date. Its stage moves only in Rillo.

Example
POST /api/v1/update_deal
{
  "id": "c_7pd4lw6r",
  "value": "26,500",
  "next_due": "2026-10-23"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_7pd4lw6r",
    "name": "Denise Wilson"
  },
  "changed": [
    "value",
    "next_due"
  ],
  "stage": "New",
  "undo": {
    "token": "cx_a3f9c2e8b1d4f6a0c5e9b2d7",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
log_activity activities.write Changes Rillo

Log a call, meeting, visit, email or text that already happened. A record of it, never a message sent.

Example
POST /api/v1/log_activity
{
  "id": "c_7pd4lw6r",
  "type": "visit",
  "summary": "Walked the yard. Wants two trucks by March.",
  "at": "2026-10-16T15:30:00-07:00"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_7pd4lw6r",
    "name": "Denise Wilson"
  },
  "what": "visit",
  "undo": {
    "token": "cx_3f9c2e8b1d4f6a0c5e9b2d7f",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
log_call activities.write Changes Rillo

Log a phone call that already happened: what was said, how it went and how long.

Example
POST /api/v1/log_call
{
  "id": "c_8kq2vd3m",
  "summary": "Confirmed Monday pickups.",
  "outcome": "talked",
  "minutes": 6
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "what": "call",
  "outcome": "talked",
  "minutes": 6,
  "undo": {
    "token": "cx_f9c2e8b1d4f6a0c5e9b2d7f4",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
make_task tasks.write Changes Rillo

Make a task on a record in your own book.

Example
POST /api/v1/make_task
{
  "id": "c_7pd4lw6r",
  "title": "Price two trucks for March",
  "due": "2026-10-21"
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_7pd4lw6r",
    "name": "Denise Wilson"
  },
  "what": "task",
  "due": "2026-10-21",
  "undo": {
    "token": "cx_9c2e8b1d4f6a0c5e9b2d7f4a",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
book_time bookings.write Changes Rillo

Book a meeting on your own calendar by your booking page's rules. If the time is taken, the next open times.

Example
POST /api/v1/book_time
{
  "when": "2026-10-21T10:00:00-07:00",
  "id": "c_7pd4lw6r",
  "notes": "Truck specs"
}
Answer
{
  "booked": true,
  "when": "2026-10-21T10:00:00-07:00",
  "with": "Denise Wilson",
  "sent": false,
  "charged": false,
  "undo": {
    "token": "cx_c2e8b1d4f6a0c5e9b2d7f4a1",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
mark_not_a_lead leads.write Changes Rillo

Mark a record Not a lead: out of Today's moves and the counts, nothing deleted.

Example
POST /api/v1/mark_not_a_lead
{
  "id": "c_6mf3qs8e",
  "reason": "duplicate"
}
Answer
{
  "marked": "not_a_lead",
  "reason": "duplicate",
  "deleted": false,
  "undo": {
    "token": "cx_2e8b1d4f6a0c5e9b2d7f4a1c",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
mark_lost leads.write Changes Rillo

Ask for a deal to be marked lost. It waits for a person's yes; only then does it move.

Example
POST /api/v1/mark_lost
{
  "id": "c_7pd4lw6r",
  "reason": "timing"
}
Answer
{
  "asked": true,
  "moved": false,
  "waiting": "Waiting for a person's yes in Rillo.",
  "undo": {
    "token": "cx_e8b1d4f6a0c5e9b2d7f4a1c8",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
merge_records people.write Changes Rillo

Ask to fold up to five duplicates into one record. It waits for a person's yes.

Example
POST /api/v1/merge_records
{
  "keep": "c_2hr9xk5b",
  "merge": [
    "c_6mf3qs8e"
  ],
  "why": "Same person, two phone numbers"
}
Answer
{
  "asked": true,
  "merged": false,
  "waiting": "Waiting for a person's yes in Rillo.",
  "undo": {
    "token": "cx_8b1d4f6a0c5e9b2d7f4a1c8e",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
find_times bookings.write Reads only

The next open times on your own booking page. Nothing is booked.

Example
POST /api/v1/find_times
{
  "after": "2026-10-20",
  "count": 3
}
Answer
{
  "times": [
    "2026-10-20T09:00:00-07:00",
    "2026-10-20T13:30:00-07:00",
    "2026-10-21T10:00:00-07:00"
  ]
}
list_bookings bookings.write Reads only

Your bookings still on, each with its id, when and who with.

Example
POST /api/v1/list_bookings
{
  "days": 7
}
Answer
{
  "bookings": [
    {
      "id": "bk_5n2r8w",
      "when": "2026-10-21T10:00:00-07:00",
      "with": "Denise Wilson",
      "what": "Discovery call"
    }
  ]
}
move_booking bookings.write Changes Rillo

Move a booking by your booking page's rules. A note to them waits for a yes.

Example
POST /api/v1/move_booking
{
  "id": "bk_5n2r8w",
  "when": "2026-10-22T10:00:00-07:00"
}
Answer
{
  "moved": true,
  "from": "2026-10-21T10:00:00-07:00",
  "to": "2026-10-22T10:00:00-07:00",
  "sent": false,
  "undo": {
    "token": "cx_b1d4f6a0c5e9b2d7f4a1c8e3",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
cancel_booking bookings.write Changes Rillo

Ask to cancel a booking. Only a person's yes cancels it and tells them.

Example
POST /api/v1/cancel_booking
{
  "id": "bk_5n2r8w",
  "reason": "They asked to push to next month"
}
Answer
{
  "asked": true,
  "cancelled": false,
  "waiting": "Waiting for a person's yes in Rillo.",
  "undo": {
    "token": "cx_7a3f9c2e8b1d4f6a0c5e9b2d",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
draft_document drafts.write Changes Rillo

Draft a quote, estimate, invoice or your trade's papers in Documents. Not numbered, sent or charged.

Example
POST /api/v1/draft_document
{
  "id": "c_8kq2vd3m",
  "type": "quote",
  "title": "Two added weekly stops",
  "lines": [
    {
      "name": "Added stop, weekly",
      "qty": 2,
      "price": "85.00"
    }
  ]
}
Answer
{
  "drafted": true,
  "numbered": false,
  "sent": false,
  "where": "Documents, as a draft",
  "undo": {
    "token": "cx_a3f9c2e8b1d4f6a0c5e9b2d7",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
draft_message_to drafts.write Changes Rillo

Draft an email to an address, or a text to a number, that is not in the book (no record is made); or, with a name and no address, an email to a person in your book, drafted from the record. It waits for a yes.

Example
POST /api/v1/draft_message_to
{
  "to": "office@example.com",
  "subject": "A quick test",
  "body": "This is a test email from Rillo. No reply needed."
}
Answer
{
  "staged": false,
  "sent": false,
  "record": null,
  "to": "office@example.com",
  "what": "draft",
  "channel": "email",
  "waiting": "Waiting for your yes in Rillo now. Nothing was sent. No record was made.",
  "undo": {
    "token": "cx_f9c2e8b1d4f6a0c5e9b2d7f4",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
draft_team_message drafts.write Changes Rillo

Draft a team chat message, to a teammate or the whole team. It waits for a yes.

Example
POST /api/v1/draft_team_message
{
  "body": "Gina signed off on Monday pickups.",
  "to": "Chase"
}
Answer
{
  "drafted": true,
  "sent": false,
  "to": "Chase Austin",
  "waiting": "Waiting for your yes in Rillo.",
  "undo": {
    "token": "cx_3f9c2e8b1d4f6a0c5e9b2d7f",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
team_report book.read Reads only

What the team won and lost, by teammate, with the reasons.

Example
POST /api/v1/team_report
{
  "days": 7
}
Answer
{
  "days": 7,
  "won": [
    {
      "who": "Brittany Stanley",
      "deals": 2,
      "value": "31,000"
    }
  ],
  "lost": [
    {
      "who": "Chase Austin",
      "deals": 1,
      "reason": "price"
    }
  ]
}
hand_to_agent drafts.write Changes Rillo

Hand the next step on a record to a crew agent. It waits for a person's yes; nothing is sent or booked.

Example
POST /api/v1/hand_to_agent
{
  "id": "c_8kq2vd3m",
  "agent": "scheduler"
}
Answer
{
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "what": "handoff",
  "agent": "scheduler",
  "words": "Find a time with Gina McLaughlin and propose two options.",
  "sent": false,
  "booked": false,
  "waiting": "Scheduler has it. It waits in Rillo under Waiting for your yes now. Nothing is sent or booked until a person says yes.",
  "undo": {
    "token": "cx_8b1d4f6a0c5e9b2d7f4a1c8e",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
ask_stage_move deals.write Changes Rillo

Ask for a deal to move to another stage. It waits for a person's yes; only then does it move, with its history kept.

Example
POST /api/v1/ask_stage_move
{
  "id": "c_7pd4lw6r",
  "to": "Proposal",
  "why": "They asked for pricing on the PM contract."
}
Answer
{
  "record": {
    "id": "c_7pd4lw6r",
    "name": "Denise Wilson"
  },
  "what": "stage_move",
  "from": "Qualified",
  "to": "Proposal",
  "moved": false,
  "sent": false,
  "waiting": "Waiting for your yes in Rillo now. Nothing moved: only a person's yes moves it, with the stage history kept.",
  "undo": {
    "token": "cx_b1d4f6a0c5e9b2d7f4a1c8e3",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
my_week book.read Reads only

The field week counted from the book: visits in the trade's own word, accounts touched, quotes followed up, territory coverage, miles (estimated until road miles are on) and samples. Nothing is sent.

Example
POST /api/v1/my_week
{}
Answer
{
  "week": "Nov 9 to Nov 15",
  "visits": 9,
  "accounts_touched": 7,
  "quotes_followed_up": 2,
  "coverage_pct": 48,
  "coverage_moved": 6,
  "miles": 212.4,
  "miles_estimated": true,
  "samples": {
    "asked": 3,
    "sent": 2,
    "followed": 1
  },
  "sent": false
}
day_miles book.read Reads only

A day's driven miles from where the person starts, every stop visited, and the drive back once the day is done; road miles or said as estimated.

Example
POST /api/v1/day_miles
{
  "day": "2026-11-10"
}
Answer
{
  "day": "2026-11-10",
  "miles": 61.2,
  "estimated": true,
  "from": "From your start, 3 stops and back",
  "stops": [
    "Gina McLaughlin",
    "Denise Wilson",
    "Lilia Solorio"
  ]
}
samples_open book.read Reads only

The samples asked for and not sent yet, and the ones sent whose follow-up is due.

Example
POST /api/v1/samples_open
{}
Answer
{
  "word": "Samples",
  "to_send": [
    {
      "name": "Jeff Stamper",
      "what": "the sample board"
    }
  ],
  "follow_up_due": [
    {
      "name": "Laurie O'Rourke",
      "what": "the spec pack",
      "follow_on": "2026-11-17"
    }
  ]
}
visits_due book.read Reads only

The accounts due for a visit by the end of this week, by account type, each on its own clock in the trade (a manufacturer: distributors weekly, engineers monthly, contractors every 2 weeks while a job is live). Counted from the book.

Example
POST /api/v1/visits_due
{}
Answer
{
  "week": {
    "start": "2026-11-09",
    "end": "2026-11-15"
  },
  "total": 4,
  "answer": "4 visits due this week: distributors 1, engineers and specifiers 1, contractors 1 and end users 1.",
  "groups": [
    {
      "type": "Distributors",
      "every": "weekly",
      "due": 1,
      "overdue": 1,
      "accounts": [
        {
          "id": "c_101",
          "name": "Gina McLaughlin",
          "why": "Last visit 9 days ago",
          "due_on": "2026-11-08"
        }
      ]
    }
  ]
}
visit_prep book.read Reads only

One line of prep before a visit: the last visit and what was said, the quotes waiting with their decision day, and the live job. Read from the record only.

Example
POST /api/v1/visit_prep
{
  "id": "c_101"
}
Answer
{
  "record": {
    "id": "c_101",
    "name": "Gina McLaughlin"
  },
  "answer": "Last visit 20 days ago: Bidding after the first of the month. 1 quote waiting, Q-1042 decides in 3 days.",
  "days_since_visit": 20,
  "quotes_waiting": 1,
  "live_job": ""
}
plan_due_week book.read Reads only

The accounts due this week drafted onto the working days left, one area a day, most overdue first, in driving order. Nothing is written: each stop goes on its day with add_route_stop after a yes.

Example
POST /api/v1/plan_due_week
{}
Answer
{
  "written": false,
  "planned": 3,
  "left_for_later": 0,
  "no_address": 0,
  "days": [
    {
      "day": "2026-11-11",
      "label": "Wed Nov 11",
      "area": "Maricopa County",
      "stops": [
        {
          "id": "c_101",
          "name": "Gina McLaughlin"
        },
        {
          "id": "c_102",
          "name": "Denise Wilson"
        }
      ],
      "miles_estimated": 24
    },
    {
      "day": "2026-11-12",
      "label": "Thu Nov 12",
      "area": "Pinal County",
      "stops": [
        {
          "id": "c_103",
          "name": "Lilia Solorio"
        }
      ],
      "miles_estimated": 61
    }
  ],
  "answer": "3 visits over 2 days, one area a day, most overdue first. Nothing is on your route yet: say yes and each stop goes on its day."
}
add_sample activities.write Changes Rillo

Put a sample on a record: asked for, or sent (which sets the follow-up). It shows on Today and on the record. Nothing is sent.

Example
POST /api/v1/add_sample
{
  "id": "rec_7f3a",
  "what": "the 6 inch line",
  "qty": "2 boxes"
}
Answer
{
  "saved": true,
  "sent": false,
  "record": {
    "id": "rec_7f3a",
    "name": "Jeff Stamper"
  },
  "what": "Sample",
  "undo": {
    "token": "cx_444444444444444444444444"
  }
}
add_route_stop tasks.write Changes Rillo

Add a record to the person's own route for today, tomorrow or a date; the same route on the Map and Today on every device. Nobody else's time is booked.

Example
POST /api/v1/add_route_stop
{
  "id": "rec_7f3a",
  "day": "tomorrow"
}
Answer
{
  "saved": true,
  "sent": false,
  "record": {
    "id": "rec_7f3a",
    "name": "Amelia Valle"
  },
  "day": "2026-11-11",
  "undo": {
    "token": "cx_555555555555555555555555"
  }
}
map_while_here book.read Reads only

While you are here: the records within a few miles of one record that have gone quiet 30, 60 or 90 days, nearest first, in your trade's words. Names and counts only; never a dollar figure.

Example
POST /api/v1/map_while_here
{
  "id": "c_8kq2vd3m",
  "days": 60
}
Answer
{
  "near": "Ricks & Sons Produce",
  "text": "2 customers nearby you have not seen in 60 days",
  "days": 60,
  "miles": 5,
  "counts": {
    "30": 3,
    "60": 2,
    "90": 1
  },
  "records": [
    {
      "id": "c_4tz7wp1n",
      "name": "Denise Wilson",
      "quiet_days": 74,
      "miles": 1.8,
      "about_minutes": 5
    },
    {
      "id": "c_2hr9xk5b",
      "name": "Lilia Solorio",
      "quiet_days": null,
      "miles": 3.2,
      "about_minutes": 8
    }
  ]
}
map_day_route book.read Reads only

Today's route in order, as the Map and Today both count it: each stop's arrival and the drive to it, by road when the day has road times, else an estimate said as one.

Example
POST /api/v1/map_day_route
{}
Answer
{
  "day": "2026-10-17",
  "leave_by": "8:35am",
  "miles": 18.4,
  "by_road": true,
  "text": "2 stops, leave by 8:35am, 18.4 mi, 46 min of driving by road.",
  "stops": [
    {
      "n": 1,
      "id": "c_8kq2vd3m",
      "name": "Gina McLaughlin",
      "arrive": "9:00am",
      "drive": "25 min",
      "fixed": true
    },
    {
      "n": 2,
      "id": "c_4tz7wp1n",
      "name": "Denise Wilson",
      "arrive": "10:12am",
      "drive": "12 min",
      "fixed": false
    }
  ],
  "not_on_map": 0
}
map_where_from book.read Reads only

How many of your records are in each ZIP code, most first. Counts only: never a name, a street or a phone number.

Example
POST /api/v1/map_where_from
{
  "limit": 3
}
Answer
{
  "areas": [
    {
      "area": "85281",
      "count": 14
    },
    {
      "area": "85201",
      "count": 9
    },
    {
      "area": "85224",
      "count": 5
    }
  ],
  "placed": 31,
  "unplaced": 2,
  "text": "More of your records come from ZIP 85281 than anywhere else (14 of 31)."
}
map_territory_owner book.read Reads only

Who owns a county, a state or a ZIP by your sales territories, or that nobody does yet. A rep hears only that another teammate owns one that is not theirs.

Example
POST /api/v1/map_territory_owner
{
  "place": "Pima County"
}
Answer
{
  "place": "Pima County",
  "owned": true,
  "yours": false,
  "territory": "Southern Arizona",
  "owner": "Brittany Stanley",
  "line": "Pima County is in Southern Arizona, owned by Brittany Stanley."
}
map_no_distributor_touch book.read Reads only

The accounts of one kind in a county or a state that no distributor branch has touched in 30, 60 or 90 days. Names only, from your own book.

Example
POST /api/v1/map_no_distributor_touch
{
  "kind": "contractors",
  "county": "Maricopa",
  "state": "AZ",
  "days": 60
}
Answer
{
  "count": 1,
  "days": 60,
  "line": "1 contractors in Maricopa with no distributor touch in 60 days.",
  "records": [
    {
      "id": "c_8kq2vd3m",
      "name": "Ricks & Sons Produce"
    }
  ]
}
map_branch_serves book.read Reads only

The accounts a distributor branch serves, each with its last touch, the quietest first.

Example
POST /api/v1/map_branch_serves
{
  "id": "c_8kq2vd3m"
}
Answer
{
  "branch": "every branch",
  "count": 1,
  "records": [
    {
      "id": "c_4tz7wp1n",
      "name": "Denise Wilson",
      "last": "Touched 12 days ago"
    }
  ]
}
map_territory_heat book.read Reads only

Which sales territory has gone quietest in 30, 60 or 90 days, by who stopped: nobody, the rep, or the distributor. A manager hears every territory; a rep hears only their own.

Example
POST /api/v1/map_territory_heat
{
  "days": 60,
  "side": "distributor"
}
Answer
{
  "days": 60,
  "side": "distributor",
  "partner": "distributor",
  "count": 2,
  "line": "Quietest: Southern Arizona: 7 of 12 accounts with no distributor in 60 days.",
  "territories": [
    {
      "territory": "Southern Arizona",
      "accounts": 12,
      "untouched": 7,
      "line": "Southern Arizona: 7 of 12 accounts with no distributor in 60 days"
    },
    {
      "territory": "Maricopa",
      "accounts": 20,
      "untouched": 3,
      "line": "Maricopa: 3 of 20 accounts with no distributor in 60 days"
    }
  ]
}
map_area_at book.read Reads only

Which distributor works a county and which sales territories cover it, each with its level (primary, extended or by exception). Or, for one account: whose territory it is in and which distributor works it. A rep hears a teammate's territory only as taken.

Example
POST /api/v1/map_area_at
{
  "county": "Pima County",
  "state": "AZ"
}
Answer
{
  "place": "Pima County",
  "state": "AZ",
  "count": 2,
  "areas": [
    {
      "kind": "distributor",
      "name": "J&S Water",
      "level": "primary"
    },
    {
      "kind": "territory",
      "name": "Southern Arizona",
      "level": "primary",
      "owner": "Brittany Stanley"
    }
  ],
  "line": "J&S Water works Pima County (primary). Territory: Southern Arizona (primary), Brittany Stanley's."
}
set_tabs people.write Changes Rillo

Rename, hide and reorder this workspace's tabs and sub-tabs, for everyone in it. No other workspace changes.

Example
POST /api/v1/set_tabs
{
  "workspace": "ws_1",
  "tabs": [
    {
      "tab": "People",
      "name": "Contacts"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "tabs",
  "lands": "People is now Contacts.",
  "read_back": {
    "changed": [
      {
        "id": "contacts",
        "tab": "People",
        "name": "Contacts",
        "hidden": false
      }
    ],
    "order": [],
    "set_by": "the workspace"
  },
  "undo": {
    "token": "cx_2e8f7a6b5c4d3e2f1a0b9c8d"
  }
}
set_filters people.write Changes Rillo

Add, change or remove the filters and saved views everyone sees on one list. Removing needs a yes.

Example
POST /api/v1/set_filters
{
  "workspace": "ws_1",
  "list": "People",
  "views": [
    {
      "name": "Arizona",
      "filters": [
        {
          "field": "state",
          "value": "AZ"
        }
      ],
      "quick": true
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "filters",
  "lands": "On People: added Arizona.",
  "read_back": [
    {
      "list": "contacts",
      "list_name": "People",
      "name": "Arizona",
      "kind": "filter",
      "filters": {
        "state": "AZ"
      },
      "search": "",
      "shared_by": "your assistant"
    }
  ],
  "undo": {
    "token": "cx_3f9a8b7c6d5e4f3a2b1c0d9e"
  }
}
set_brand people.write Changes Rillo

Set the workspace's one accent colour, its logo and its intro line. Only what you send changes.

Example
POST /api/v1/set_brand
{
  "workspace": "ws_1",
  "intro": "Built to the drawing, shipped on the date."
}
Answer
{
  "saved": true,
  "changed": "brand",
  "lands": "The intro line reads \"Built to the drawing, shipped on the date.\".",
  "read_back": {
    "accent": "the workspace's default",
    "logo": "none",
    "intro_line": "Built to the drawing, shipped on the date."
  },
  "undo": {
    "token": "cx_4a0b9c8d7e6f5a4b3c2d1e0f"
  }
}
set_coworker people.write Changes Rillo

Change a coworker's title, email, phone, division, territory or role. Nothing is sent to them.

Example
POST /api/v1/set_coworker
{
  "workspace": "ws_1",
  "coworker": "Erika Ocampo",
  "title": "Regional manager",
  "territory": "Southwest"
}
Answer
{
  "saved": true,
  "sent": false,
  "changed": [
    "title",
    "territory"
  ],
  "lands": "Changed Erika Ocampo's title, territory. Nothing was sent.",
  "name": "Erika Ocampo",
  "email_sent": false,
  "read_back": {
    "id": "cw_5b1c0d9e",
    "name": "Erika Ocampo",
    "title": "Regional manager",
    "email": "",
    "phone": "",
    "division": "",
    "territory": "Southwest",
    "role": "Rep"
  },
  "undo": {
    "token": "cx_5b1c0d9e8f7a6b5c4d3e2f1a"
  }
}
set_company_facts people.write Changes Rillo

Set the company's main phone and its desk mailboxes (quote requests, design, calculations, orders), for each division.

Example
POST /api/v1/set_company_facts
{
  "workspace": "ws_1",
  "main_phone": "602-555-0110",
  "desks": [
    {
      "rfq": "quotes@example.com",
      "orders": "orders@example.com"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "company_facts",
  "lands": "The main line is 602-555-0110; The company: quote requests go to quotes@example.com, orders and ship dates go to orders@example.com.",
  "read_back": {
    "main_phone": "602-555-0110",
    "desks": [
      {
        "division": "the whole company",
        "rfq": "quotes@example.com",
        "design": "",
        "calcs": "",
        "orders": "orders@example.com"
      }
    ]
  },
  "undo": {
    "token": "cx_6c2d1e0f9a8b7c6d5e4f3a2b"
  }
}
archive_records people.write Changes Rillo

Move the records a filter names out of the working book into the archive. The first call answers the count; the same filter with that count is the yes. Nothing is deleted.

Example
POST /api/v1/archive_records
{
  "workspace": "ws_1",
  "filter": {
    "batch": "October load"
  }
}
Answer
{
  "changed": false,
  "needs_yes": true,
  "count": 42,
  "people": 30,
  "companies": 12,
  "sample": [
    "Erika Ocampo",
    "Butcher Industrial Supply"
  ],
  "filter": "batch October load",
  "line": "30 people and 12 companies fit (batch October load). Nothing was changed. To archive them, send the same filter with confirm_count 42."
}
restore_records people.write Changes Rillo

Bring archived records back into the working book, whole, with their history. The count first, then the yes.

Example
POST /api/v1/restore_records
{
  "workspace": "ws_1",
  "filter": {
    "batch": "October load"
  },
  "confirm_count": 42
}
Answer
{
  "changed": true,
  "saved": true,
  "deleted": 0,
  "sent": false,
  "count": 42,
  "people": 30,
  "companies": 12,
  "restored": 42,
  "read_back": {
    "in_archive": 0,
    "in_working_book": 42,
    "archive_total": 0
  },
  "lands": "30 people and 12 companies came back to your working book now. Each one is whole, with its history.",
  "undo": {
    "token": "cx_7d3e2f1a0b9c8d7e6f5a4b3c"
  }
}
import_records people.write Changes Rillo

Load records from the rows of a sheet. Every row is matched before anything is made; a dry run answers the count; the load waits in Inbox to review.

Example
POST /api/v1/import_records
{
  "workspace": "ws_1",
  "source": "Customer sheet",
  "batch_name": "November load",
  "dry_run": true,
  "rows": [
    {
      "type": "company",
      "name": "Butcher Industrial Supply",
      "city": "Mesa",
      "state": "AZ"
    }
  ]
}
Answer
{
  "dry_run": true,
  "written": false,
  "rows": 1,
  "count": 1,
  "needs_yes": true,
  "counts": {
    "new": 1,
    "matched": 0,
    "duplicate": 0,
    "refused": 0
  },
  "next": "Nothing was written. To load them, send the same rows with confirm_count 1."
}
set_routing people.write Changes Rillo

Set which teammate an incoming record goes to, by its division, state and territory. The first rule that fits names the owner.

Example
POST /api/v1/set_routing
{
  "workspace": "ws_1",
  "rules": [
    {
      "states": [
        "AZ",
        "NM"
      ],
      "to": "Erika Ocampo"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "routing",
  "lands": "1 routing rule, read top to bottom: A new record in state AZ, NM goes to Erika Ocampo.",
  "rules": 1,
  "read_back": [
    {
      "order": 1,
      "says": "A new record in state AZ, NM goes to Erika Ocampo."
    }
  ],
  "undo": {
    "token": "cx_8e4f3a2b1c0d9e8f7a6b5c4d"
  }
}
read_team_setup book.read Reads only

How the team is set up: the permission preset and every switch, each tool's name and on or off, how contacts are shared, who may export, the setup lock, founder access and the saved templates. Read only.

Example
POST /api/v1/read_team_setup
{}
Answer
{
  "on": true,
  "preset": "Open team",
  "switches": [
    {
      "id": "editOthers",
      "label": "Work contacts someone else owns",
      "on": true
    }
  ],
  "tools": [
    {
      "id": "map",
      "name": "Map",
      "on": true
    }
  ],
  "setup_lock": "Locked: only the owners and Rillo's founder change setup.",
  "templates": []
}
save_setup_template people.write Changes Rillo

Save the company's whole setup (words, rooms, stages, fields, divisions, roles, presets and views) as a named template. No names, people or records are kept.

Example
POST /api/v1/save_setup_template
{
  "workspace": "ws_1",
  "name": "Northeast team"
}
Answer
{
  "saved": true,
  "changed": "setup_template",
  "lands": "Saved \"Northeast team\". Keeps the words, rooms, stages, fields, divisions, roles, presets and views. No names, people or records are kept.",
  "read_back": [
    {
      "id": "tp_1a2b3c4d",
      "name": "Northeast team",
      "parts": [
        "words",
        "rooms",
        "stages"
      ]
    }
  ],
  "undo": {
    "token": "cx_2d7e6f5a4b3c2d1e0f9a8b7c"
  }
}
read_setup_template book.read Reads only

Read the saved setup templates, or one whole to start the next company from. Read only.

Example
POST /api/v1/read_setup_template
{
  "name": "Northeast team"
}
Answer
{
  "template": {
    "kind": "team-setup-template",
    "name": "Northeast team",
    "body": {
      "pipeline": [
        "Bid",
        "Quoted",
        "Won"
      ]
    }
  },
  "line": "Keeps the stages. No names, people or records are kept."
}
start_from_template people.write Changes Rillo

Set this company up from a saved template. Its own name, people, territories and records are left as they are.

Example
POST /api/v1/start_from_template
{
  "workspace": "ws_1",
  "name": "Northeast team"
}
Answer
{
  "saved": true,
  "changed": "start_from_template",
  "lands": "Started from \"Northeast team\". Keeps the stages. No names, people or records are kept.",
  "undo": {
    "token": "cx_3e8f7a6b5c4d3e2f1a0b9c8d"
  }
}
set_team_setup people.write Changes Rillo

Set one part of the team setup per call: defaults (the default reach, handoffs), pod, reach (one record or a filtered batch; the count first), roles (permissions, view only), titles, relationships, pipelines, or products (Connect or Shops off for everyone; the CRM stays).

Example
POST /api/v1/set_team_setup
{
  "workspace": "ws_1",
  "pod": {
    "name": "Gulf Coast",
    "members": [
      "Brittany Stanley",
      "Chase Austin"
    ],
    "closed": true,
    "colours": [
      "c2",
      "c5"
    ]
  }
}
Answer
{
  "part": "pod",
  "saved": true,
  "changed": "pod",
  "lands": "Made the pod Gulf Coast: Brittany Stanley and Chase Austin share one book, closed to the other reps (managers see it). No record moved.",
  "read_back": [
    {
      "name": "Gulf Coast",
      "members": [
        "Brittany Stanley",
        "Chase Austin"
      ],
      "closed": true,
      "colours": [
        "c2",
        "c5"
      ]
    }
  ],
  "undo": {
    "token": "cx_5a0b9c8d7e6f5a4b3c2d1e0f"
  }
}
paste_and_file people.write Changes Rillo

Paste what a rep copied (a web-form lead, a signature, a sheet row, call notes). The first call reads it by Rillo's own rules and answers the card: where each line goes, what it asks, the owner by territory. With save: true it files to Inbox to review. A paste is never a touch.

Example
POST /api/v1/paste_and_file
{
  "workspace": "ws_1",
  "text": "Gina McLaughlin\nFleet manager\nWallace Hauling\n602-555-0190",
  "save": false
}
Answer
{
  "written": false,
  "card": [
    "Company: Wallace Hauling (already here, same name).",
    "New contact: Gina McLaughlin at Wallace Hauling, Fleet manager.",
    "Suggested owner: you.",
    "From a paste (A paste). Not counted as a call or visit."
  ],
  "asks": [],
  "summary": "Nothing is written yet. Call again with save: true to file it."
}
list_workspaces book.read Reads only

The workspaces (companies) you belong to, your role in each, and which one this connection works in.

Example
POST /api/v1/list_workspaces
{}
Answer
{
  "count": 2,
  "workspaces": [
    {
      "id": "org_4kq2vd3m",
      "name": "Wallace Hauling",
      "role": "admin",
      "here": true
    },
    {
      "id": "org_9cv5jt2y",
      "name": "Olsen Realty",
      "role": "rep",
      "here": false
    }
  ],
  "line": "You are in 2 workspaces. This connection is working in Wallace Hauling."
}
use_workspace book.read Reads only

Says how to work in another workspace you belong to. It never moves the connection and changes nothing.

Example
POST /api/v1/use_workspace
{
  "workspace": "org_9cv5jt2y"
}
Answer
{
  "switched": false,
  "how": "connect_again",
  "here": {
    "id": "org_4kq2vd3m",
    "name": "Wallace Hauling"
  },
  "workspace": {
    "id": "org_9cv5jt2y",
    "name": "Olsen Realty"
  },
  "line": "This connection stays in Wallace Hauling. To work in Olsen Realty, connect Rillo again in your assistant and pick Olsen Realty on Rillo's screen."
}
create_project people.write Changes Rillo

Add a project in your trade's words. It waits in Inbox to review until a person approves it.

Example
POST /api/v1/create_project
{
  "workspace": "org_4kq2vd3m",
  "name": "Saltgrass County fleet service RFP",
  "project_stage": "bidding",
  "source": "County bid board"
}
Answer
{
  "inbox": true,
  "live": false,
  "row": {
    "type": "project",
    "name": "Saltgrass County fleet service RFP"
  },
  "match": "new",
  "source": "County bid board",
  "undo": "cx_7a3f9c2e8b1d4f6a0c5e9b2d"
}
update_project people.write Changes Rillo

Change a project already in Rillo. Only what you send changes, after a person approves it.

Example
POST /api/v1/update_project
{
  "workspace": "org_4kq2vd3m",
  "id": "fpr48b2c586",
  "project_stage": "construction"
}
Answer
{
  "inbox": true,
  "live": false,
  "row": {
    "type": "project",
    "name": "Saltgrass County fleet service RFP"
  },
  "match": "matched: Saltgrass County fleet service RFP (id fpr48b2c586), the record you named",
  "undo": "cx_a3f9c2e8b1d4f6a0c5e9b2d7"
}
create_company people.write Changes Rillo

Add a company with its type, website, states served and brands carried. It waits in Inbox to review.

Example
POST /api/v1/create_company
{
  "workspace": "org_4kq2vd3m",
  "name": "Wallace Hauling",
  "company_type": "customer",
  "state": "AZ"
}
Answer
{
  "inbox": true,
  "live": false,
  "row": {
    "type": "company",
    "name": "Wallace Hauling"
  },
  "match": "new",
  "undo": "cx_3f9c2e8b1d4f6a0c5e9b2d7f"
}
update_company people.write Changes Rillo

Change a company already in Rillo, after a person approves it.

Example
POST /api/v1/update_company
{
  "workspace": "org_4kq2vd3m",
  "id": "c_9cv5jt2y",
  "website": "example.com"
}
Answer
{
  "inbox": true,
  "live": false,
  "row": {
    "type": "company",
    "name": "Wallace Hauling"
  },
  "undo": "cx_f9c2e8b1d4f6a0c5e9b2d7f4"
}
create_person people.write Changes Rillo

Add a person with their title and their company as a link. It waits in Inbox to review.

Example
POST /api/v1/create_person
{
  "workspace": "org_4kq2vd3m",
  "name": "Gina McLaughlin",
  "title": "Fleet Manager",
  "company": "Wallace Hauling"
}
Answer
{
  "inbox": true,
  "live": false,
  "row": {
    "type": "person",
    "name": "Gina McLaughlin"
  },
  "match": "new",
  "undo": "cx_9c2e8b1d4f6a0c5e9b2d7f4a"
}
bulk_import people.write Changes Rillo

Up to 500 rows at once. A dry run counts new, matched and likely duplicates and writes nothing; the real run lands the batch in Inbox to review with one undo.

Example
POST /api/v1/bulk_import
{
  "workspace": "org_4kq2vd3m",
  "source": "County bid board",
  "dry_run": true,
  "items": [
    {
      "type": "project",
      "name": "Saltgrass County fleet service RFP"
    }
  ]
}
Answer
{
  "dry_run": true,
  "written": false,
  "rows": 1,
  "counts": {
    "new": 1,
    "matched": 0,
    "duplicate": 0,
    "refused": 0
  },
  "line": "1 new, 0 already in the book, 0 likely duplicates."
}
set_tags people.write Changes Rillo

Add tags to any record. It waits in Inbox to review.

Example
POST /api/v1/set_tags
{
  "workspace": "org_4kq2vd3m",
  "id": "c_8kq2vd3m",
  "tags": [
    "rfp"
  ]
}
Answer
{
  "inbox": true,
  "live": false,
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "undo": "cx_2e8b1d4f6a0c5e9b2d7f4a1c"
}
add_record_note people.write Changes Rillo

A note on any record (a person, a company or a project), with where it came from.

Example
POST /api/v1/add_record_note
{
  "workspace": "org_4kq2vd3m",
  "id": "c_8kq2vd3m",
  "note": "Runs the county's fleet bids."
}
Answer
{
  "inbox": true,
  "live": false,
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  },
  "undo": "cx_e8b1d4f6a0c5e9b2d7f4a1c8"
}
hide_source people.write Changes Rillo

Hide, show or ask to remove every record from one source, in one step. A person does it in Inbox to review.

Example
POST /api/v1/hide_source
{
  "workspace": "org_4kq2vd3m",
  "tag": "src:county-bid-board",
  "mode": "hide"
}
Answer
{
  "inbox": true,
  "live": false,
  "records": 12,
  "undo": "cx_8b1d4f6a0c5e9b2d7f4a1c8e"
}
list_sources book.read Reads only

Each source records came from, its tag and how many records carry it.

Example
POST /api/v1/list_sources
{}
Answer
{
  "count": 1,
  "sources": [
    {
      "tag": "src:county-bid-board",
      "label": "County bid board",
      "records": 12,
      "hidden": 0
    }
  ]
}
list_inbox book.read Reads only

What waits in Inbox to review in this workspace.

Example
POST /api/v1/list_inbox
{}
Answer
{
  "batches": [
    {
      "id": "cx_b1d4f6a0c5e9b2d7f4a1c8e3",
      "source": "County bid board",
      "rows": 12
    }
  ],
  "waiting": 12,
  "line": "12 waiting in Inbox to review, in 1 batch."
}
find_duplicates book.read Reads only

Records that look like the same person, company or project twice.

Example
POST /api/v1/find_duplicates
{}
Answer
{
  "count": 1,
  "pairs": [
    {
      "type": "person",
      "a": {
        "id": "c_8kq2vd3m",
        "name": "Gina McLaughlin"
      },
      "b": {
        "id": "c_6mf3qs8e",
        "name": "Gina McLaughlin"
      },
      "why": "same email"
    }
  ]
}
search_records book.read Reads only

Search people, companies and projects at once.

Example
POST /api/v1/search_records
{
  "q": "McLaughlin"
}
Answer
{
  "count": 1,
  "records": [
    {
      "type": "person",
      "id": "c_8kq2vd3m",
      "name": "Gina McLaughlin",
      "company": "Wallace Hauling"
    }
  ]
}
relationships book.read Reads only

Who do I know on a project, jobs lost to a competitor, which engineers specify which brands, which reps carry a competing line. From the book, no model.

Example
POST /api/v1/relationships
{
  "question": "who_on_project",
  "about": "Saltgrass County fleet service RFP"
}
Answer
{
  "project": {
    "id": "fpr48b2c586",
    "name": "Saltgrass County fleet service RFP"
  },
  "byCompany": [
    {
      "company": "Wallace Hauling",
      "people": [
        {
          "id": "c_8kq2vd3m",
          "name": "Gina McLaughlin",
          "role": "fleet manager"
        }
      ]
    }
  ],
  "line": "You know 1 person on Saltgrass County fleet service RFP across 1 company."
}
read_setup book.read Reads only

How the workspace is set up: its name and profile, your card, the coworkers with and without a login, the steps in order.

Example
POST /api/v1/read_setup
{}
Answer
{
  "workspace": {
    "name": "Wallace Hauling"
  },
  "coworkers": [
    {
      "name": "Chase Austin",
      "title": "Territory Sales Rep",
      "role": "rep",
      "territory": "New Mexico",
      "login": "no login yet",
      "records_waiting": 2
    }
  ],
  "coworkers_without_login": 1,
  "setup_through_assistant": "on"
}
set_workspace people.write Changes Rillo

Rename the workspace and set its company profile. Needs the owner's one setup permission. Undo for ten minutes.

Example
POST /api/v1/set_workspace
{
  "workspace": "ws_1",
  "about": "Fleet service across three states.",
  "city": "Tempe",
  "state": "AZ"
}
Answer
{
  "saved": true,
  "sent": false,
  "changed": "workspace",
  "lands": "Changed the line about it and the company profile.",
  "undo": {
    "token": "cx_5e1f0a9c2b7d4e6f8a1c3b5d"
  }
}
edit_my_card people.write Changes Rillo

Change the title, email or phone on your own card. Nobody else's.

Example
POST /api/v1/edit_my_card
{
  "workspace": "ws_1",
  "title": "Regional Sales Manager"
}
Answer
{
  "saved": true,
  "sent": false,
  "changed": [
    "title"
  ],
  "lands": "On your own card now. Nobody else's card changed.",
  "undo": {
    "token": "cx_6a2b1c0d9e8f7a6b5c4d3e2f"
  }
}
add_coworker people.write Changes Rillo

Add a coworker before they have a login: name, title, email, territory, role. No email goes out; a person presses Send activation email in Rillo.

Example
POST /api/v1/add_coworker
{
  "workspace": "ws_1",
  "name": "Chase Austin",
  "title": "Territory Sales Rep",
  "email": "chase@fleet.example",
  "territory": "New Mexico",
  "role": "rep"
}
Answer
{
  "saved": true,
  "sent": false,
  "email_sent": false,
  "coworker": {
    "id": "cw_3f9a12c4",
    "name": "Chase Austin",
    "login": "no login yet"
  },
  "lands": "Added Chase Austin, Territory Sales Rep as rep for New Mexico. No email was sent and they have no login yet.",
  "undo": {
    "token": "cx_7b3c2d1e0f9a8b7c6d5e4f3a"
  }
}
set_deal_stages people.write Changes Rillo

Name the stages and their order for the whole workspace. It moves no deal.

Example
POST /api/v1/set_deal_stages
{
  "workspace": "ws_1",
  "stages": [
    "Found",
    "Qualified",
    "Fleet reviewed",
    "Proposal out",
    "Contract signed"
  ]
}
Answer
{
  "saved": true,
  "moved": 0,
  "stages": [
    "Found",
    "Qualified",
    "Fleet reviewed",
    "Proposal out",
    "Contract signed"
  ],
  "undo": {
    "token": "cx_8c4d3e2f1a0b9c8d7e6f5a4b"
  }
}
assign_records people.write Changes Rillo

Set records from your own book aside for a coworker, with or without a login. They are there the day that coworker activates.

Example
POST /api/v1/assign_records
{
  "workspace": "ws_1",
  "coworker": "chase@fleet.example",
  "ids": [
    "c_8kq2vd3m"
  ]
}
Answer
{
  "saved": true,
  "sent": false,
  "coworker": {
    "id": "cw_3f9a12c4",
    "name": "Chase Austin"
  },
  "waiting": 1,
  "undo": {
    "token": "cx_9d5e4f3a2b1c0d9e8f7a6b5c"
  }
}
file_lead people.write Changes Rillo

One call files a whole lead: the project, its companies by role, its people, the competitors named, a six-line card kept as fields, a fit score. One batch in Inbox to review, one undo.

Example
POST /api/v1/file_lead
{
  "workspace": "ws_1",
  "source": "A practice registrations list",
  "batch_name": "Arizona fleets, week 46",
  "project": {
    "name": "Saltgrass County fleet service RFP",
    "city": "Saltgrass",
    "state": "AZ",
    "source_id": "RFP-2291",
    "fit_score": 78,
    "fit_reason": "Forty units, contract ends in March."
  },
  "companies": [
    {
      "name": "Wallace Hauling",
      "role": "owner"
    }
  ],
  "people": [
    {
      "name": "Gina McLaughlin",
      "company": "Wallace Hauling",
      "role": "fleet manager"
    }
  ]
}
Answer
{
  "inbox": true,
  "live": false,
  "lead": {
    "project": "Saltgrass County fleet service RFP",
    "companies": 1,
    "people": 1,
    "links": 3,
    "fit_score": 78
  },
  "lands": "The whole lead waits in Inbox to review as one batch. Nothing is live until a person approves it in Rillo.",
  "undo": "cx_0e6f5a4b3c2d1e0f9a8b7c6d"
}
count_batch book.read Reads only

How many records and links one batch or one source put in your book. Read only.

Example
POST /api/v1/count_batch
{
  "batch": "Arizona fleets, week 46"
}
Answer
{
  "projects": 1,
  "companies": 1,
  "people": 1,
  "records": 3,
  "links": 3,
  "changed": false,
  "line": "In your book: 3 records and 3 links from the batch Arizona fleets, week 46 (1 project, 1 company, 1 person)."
}
ask_clear_batch people.write Changes Rillo

The owner only, at any time: ask to take out everything one batch or one source put in, with the count sent back. The owner does it in one tap in Rillo; nothing is taken out from outside.

Example
POST /api/v1/ask_clear_batch
{
  "workspace": "ws_1",
  "batch": "Arizona fleets, week 46",
  "confirm_count": 3
}
Answer
{
  "inbox": true,
  "live": false,
  "removed": 0,
  "records": 3,
  "links": 3,
  "lands": "Asked the owner to take out 3 records and 3 links. Nothing was taken out from here.",
  "undo": "cx_1f7a6b5c4d3e2f1a0b9c8d7e"
}
set_divisions people.write Changes Rillo

Name the workspace's divisions, in order. Needs the owner's one setup permission. Undo for ten minutes; the answer reads back what was saved.

Example
POST /api/v1/set_divisions
{
  "workspace": "ws_1",
  "divisions": [
    {
      "name": "Fleet service",
      "colour": "c1"
    },
    {
      "name": "Parts"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "divisions",
  "lands": "The divisions now read: Fleet service, Parts.",
  "read_back": [
    {
      "name": "Fleet service",
      "colour": "c1"
    },
    {
      "name": "Parts",
      "colour": ""
    }
  ],
  "undo": {
    "token": "cx_2a8b7c6d5e4f3a2b1c0d9e8f"
  }
}
set_territories people.write Changes Rillo

Set territories by name: primary, extended or by exception, each with its states and the teammate who owns it. Two primaries never hold the same state.

Example
POST /api/v1/set_territories
{
  "workspace": "ws_1",
  "territories": [
    {
      "name": "New Mexico",
      "level": "primary",
      "states": [
        "NM"
      ],
      "owner": "Chase Austin"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "territories",
  "lands": "Territories: New Mexico (primary: NM, Chase Austin).",
  "read_back": [
    {
      "name": "New Mexico",
      "level": "primary",
      "states": [
        "NM"
      ],
      "owner": "Chase Austin"
    }
  ],
  "undo": {
    "token": "cx_3b9c8d7e6f5a4b3c2d1e0f9a"
  }
}
set_tiers people.write Changes Rillo

Name the account tiers, each with its follow-up rhythm in days.

Example
POST /api/v1/set_tiers
{
  "workspace": "ws_1",
  "tiers": [
    {
      "name": "A",
      "rhythm_days": 30
    },
    {
      "name": "B",
      "rhythm_days": 90
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "tiers",
  "lands": "The tiers now read: A (every 30 days), B (every 90 days).",
  "read_back": [
    {
      "name": "A",
      "rhythm_days": 30
    },
    {
      "name": "B",
      "rhythm_days": 90
    }
  ],
  "undo": {
    "token": "cx_4c0d9e8f7a6b5c4d3e2f1a0b"
  }
}
set_account_statuses people.write Changes Rillo

Name the statuses an account can have. A status is not a step.

Example
POST /api/v1/set_account_statuses
{
  "workspace": "ws_1",
  "statuses": [
    "Prospect",
    "Customer",
    "Dormant"
  ]
}
Answer
{
  "saved": true,
  "changed": "account_statuses",
  "lands": "The account statuses now read: Prospect, Customer, Dormant.",
  "read_back": [
    "Prospect",
    "Customer",
    "Dormant"
  ],
  "undo": {
    "token": "cx_5d1e0f9a8b7c6d5e4f3a2b1c"
  }
}
set_fields people.write Changes Rillo

Set the workspace's own fields on a record, in order: add, rename, reorder or remove.

Example
POST /api/v1/set_fields
{
  "workspace": "ws_1",
  "fields": [
    "Units in fleet",
    "Contract ends"
  ]
}
Answer
{
  "saved": true,
  "changed": "fields",
  "lands": "The fields now read: Units in fleet, Contract ends.",
  "read_back": [
    "Units in fleet",
    "Contract ends"
  ],
  "undo": {
    "token": "cx_6e2f1a0b9c8d7e6f5a4b3c2d"
  }
}
set_stage_odds people.write Changes Rillo

Set the odds for each stage, 0 to 100. The won stage always reads 100 and the lost stage 0.

Example
POST /api/v1/set_stage_odds
{
  "workspace": "ws_1",
  "odds": [
    {
      "stage": "Proposal out",
      "percent": 60
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "stage_odds",
  "lands": "The odds now read: Proposal out 60%.",
  "read_back": [
    {
      "stage": "Proposal out",
      "percent": 60,
      "set_by": "the workspace"
    }
  ],
  "undo": {
    "token": "cx_7f3a2b1c0d9e8f7a6b5c4d3e"
  }
}
set_words people.write Changes Rillo

Set what this workspace calls an account and a visit. Each teammate's Rillo follows the next time it opens.

Example
POST /api/v1/set_words
{
  "workspace": "ws_1",
  "account": "Fleet",
  "visit": "Yard walk"
}
Answer
{
  "saved": true,
  "changed": "words",
  "lands": "An account is called Fleet (Fleets); a visit is called Yard walk (Yard walks).",
  "read_back": {
    "account": "Fleet / Fleets",
    "visit": "Yard walk / Yard walks"
  },
  "undo": {
    "token": "cx_8a4b3c2d1e0f9a8b7c6d5e4f"
  }
}
set_pieces people.write Changes Rillo

Switch the pieces a workspace came with on or off for everyone. A piece switched off shows nowhere.

Example
POST /api/v1/set_pieces
{
  "workspace": "ws_1",
  "pieces": [
    {
      "piece": "trips",
      "on": false
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "pieces",
  "lands": "Trips off for the whole workspace.",
  "read_back": [
    {
      "piece": "trips",
      "name": "Trips",
      "state": "off"
    }
  ],
  "undo": {
    "token": "cx_9b5c4d3e2f1a0b9c8d7e6f5a"
  }
}
set_landing_rules people.write Changes Rillo

Set where every incoming record lands: what it is, its tab, status or step, owner, territory, division, tier and map pin. What no rule can place waits in Unfiled with the reason.

Example
POST /api/v1/set_landing_rules
{
  "workspace": "ws_1",
  "rules": [
    {
      "name": "New Mexico fleets",
      "when": {
        "type": "company",
        "where": [
          {
            "field": "state",
            "op": "is",
            "value": "NM"
          }
        ]
      },
      "then": {
        "status": "Prospect",
        "territory": "state",
        "owner": "territory",
        "tier": "B"
      }
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "landing_rules",
  "rules": 1,
  "read_back": [
    {
      "order": 1,
      "on": true,
      "says": "A company where state is NM: status Prospect, owner by territory, territory by state, tier B."
    }
  ],
  "undo": {
    "token": "cx_0c6d5e4f3a2b1c0d9e8f7a6b"
  }
}
set_legend people.write Changes Rillo

Set the one legend every room uses: what colour means, and which colour each value takes.

Example
POST /api/v1/set_legend
{
  "workspace": "ws_1",
  "colour_by": "division",
  "colours": [
    {
      "value": "Fleet service",
      "colour": "c1"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "legend",
  "lands": "One legend for every room: colour is by division (Fleet service c1); an icon says what a record is.",
  "read_back": {
    "colour_by": "division",
    "colours": [
      {
        "value": "Fleet service",
        "colour": "c1"
      }
    ]
  },
  "undo": {
    "token": "cx_1d7e6f5a4b3c2d1e0f9a8b7c"
  }
}
set_rooms people.write Changes Rillo

Arrange the rooms and the Contacts sections (Room Studio): rename, add, hide, show or move, all or none. Rooms are views: no record moves.

Example
POST /api/v1/set_rooms
{
  "workspace": "ws_1",
  "changes": [
    {
      "op": "rename",
      "room": "contacts",
      "section": "partners",
      "label": "Reps and distributors"
    },
    {
      "op": "add",
      "room": "contacts",
      "label": "Vendors",
      "relationship": "vendor"
    }
  ]
}
Answer
{
  "saved": true,
  "changed": "studio",
  "lands": "Renamed Distributors and reps to Reps and distributors. Nothing moved. Added the section Vendors to Contacts.",
  "read_back": "1. Contacts: Companies, Reps and distributors, Competitors, Example Co team, Vendors\n2. Pipeline\n3. Map\n4. Calendar\n5. Reminders\n6. Reports",
  "undo": {
    "token": "cx_2e8f7a6b5c4d3e2f1a0b9c8d"
  }
}
list_came_in book.read Reads only

Every record an assistant, an import or a forwarded email added: what, when, added by whom, source and batch, and what waits in Unfiled with the reason. Read only.

Example
POST /api/v1/list_came_in
{}
Answer
{
  "count": 3,
  "since_last_looked": 3,
  "came_in": [
    {
      "what": "company",
      "name": "Wallace Hauling",
      "when": "2026-11-10T16:00:00.000Z",
      "added_by": "Your assistant",
      "how": "connector",
      "source": "A practice registrations list",
      "batch": "Arizona fleets, week 46"
    }
  ],
  "unfiled": {
    "count": 0,
    "line": "Nothing is Unfiled.",
    "rows": []
  },
  "changed": false
}

Shops 11

The shop's day, its clients, its menu and its bookings. The edits are the shop owner's only.

set_menu_price shop.menu.write Changes Rillo

Change one menu item's price.

Example
POST /api/v1/set_menu_price
{
  "item": "Cut and style",
  "price": "58.00"
}
Answer
{
  "saved": true,
  "item": "Cut and style",
  "was": "55.00",
  "now": "58.00",
  "undo": {
    "token": "cx_f9c2e8b1d4f6a0c5e9b2d7f4",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
set_sold_out shop.menu.write Changes Rillo

Mark an item Sold out today. It comes back by itself tomorrow.

Example
POST /api/v1/set_sold_out
{
  "item": "Gloss treatment",
  "sold_out": "on"
}
Answer
{
  "saved": true,
  "item": "Gloss treatment",
  "sold_out_today": true,
  "back": "Tomorrow, by itself",
  "undo": {
    "token": "cx_9c2e8b1d4f6a0c5e9b2d7f4a",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
edit_page_text shop.pages.write Changes Rillo

Change the website's tagline, the line under it, or the About text.

Example
POST /api/v1/edit_page_text
{
  "field": "tagline",
  "text": "Color, cuts and walk-ins, six days a week."
}
Answer
{
  "saved": true,
  "field": "tagline",
  "undo": {
    "token": "cx_c2e8b1d4f6a0c5e9b2d7f4a1",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
book_visit shop.bookings.write Changes Rillo

Book a visit by the shop's own booking rules. Nothing charged, nothing sent.

Example
POST /api/v1/book_visit
{
  "service": "Cut and style",
  "when": "2026-10-18T11:00:00-07:00",
  "name": "Laurie O'Rourke",
  "phone": "602-555-0163",
  "party": 1
}
Answer
{
  "booked": true,
  "when": "2026-10-18T11:00:00-07:00",
  "with": "Stephanie",
  "charged": false,
  "sent": false,
  "undo": {
    "token": "cx_2e8b1d4f6a0c5e9b2d7f4a1c",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
add_walk_in shop.bookings.write Changes Rillo

Add a walk-in the way the front desk does.

Example
POST /api/v1/add_walk_in
{
  "name": "Denise",
  "service": "Blowout"
}
Answer
{
  "added": true,
  "position": 2,
  "wait_minutes": 25,
  "charged": false,
  "sent": false,
  "undo": {
    "token": "cx_e8b1d4f6a0c5e9b2d7f4a1c8",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
list_waitlist shop.bookings.write Reads only

The waitlist and today's walk-in line, in order. Offering a freed time is done in Rillo.

Example
POST /api/v1/list_waitlist
{}
Answer
{
  "waitlist": [
    {
      "name": "Lilia Solorio",
      "day": "2026-10-18",
      "window": "afternoon",
      "service": "Cut and color"
    }
  ],
  "walk_in_line": [
    {
      "n": 1,
      "name": "Laurie",
      "state": "waiting"
    }
  ]
}
add_menu_item shop.menu.write Changes Rillo

Add an item or a service to the menu.

Example
POST /api/v1/add_menu_item
{
  "name": "Scalp treatment",
  "price": "35.00",
  "kind": "service"
}
Answer
{
  "saved": true,
  "item": "Scalp treatment",
  "price": "35.00",
  "undo": {
    "token": "cx_8b1d4f6a0c5e9b2d7f4a1c8e",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
shop_today shop.read Reads only

The shop's day on its own clock: every visit in order, the walk-in line and the wait, the waitlist, who is free, and whether it is open now.

Example
POST /api/v1/shop_today
{}
Answer
{
  "day": "2026-10-17",
  "shop": "Cardenas Salon",
  "open_now": true,
  "count": 9,
  "visits": [
    {
      "time": "10:00 AM",
      "name": "Amelia Valle",
      "what": "Cut and color",
      "with": "Stephanie"
    }
  ],
  "free": [
    {
      "who": "Nick",
      "from": "1:00 PM",
      "to": "2:30 PM"
    }
  ],
  "walk_in_line": [
    {
      "n": 1,
      "name": "Laurie",
      "state": "waiting"
    }
  ],
  "wait_minutes": 20
}
shop_client shop.read Reads only

One client or regular by name, phone or email: visits, the next one booked, what they usually have and spend, notes, and whether they are due back.

Example
POST /api/v1/shop_client
{
  "query": "Amelia Valle"
}
Answer
{
  "name": "Amelia Valle",
  "visits": 14,
  "last_visit": "2026-09-19",
  "next": null,
  "usually": [
    "Cut and color"
  ],
  "usual_spend": "142.00",
  "due": "due",
  "no_shows": 0
}
shop_regulars shop.read Reads only

Regulars by how they come back: due now, lapsed, new, or all.

Example
POST /api/v1/shop_regulars
{
  "filter": "due",
  "limit": 2
}
Answer
{
  "filter": "due",
  "regulars": [
    {
      "name": "Amelia Valle",
      "last_visit": "2026-09-19",
      "usually": "Cut and color"
    },
    {
      "name": "Laurie O'Rourke",
      "last_visit": "2026-09-02",
      "usually": "Blowout"
    }
  ]
}
shop_menu shop.read Reads only

What the shop sells, by section, with prices, lengths and Sold out today.

Example
POST /api/v1/shop_menu
{}
Answer
{
  "sections": [
    {
      "name": "Hair",
      "items": [
        {
          "name": "Cut and style",
          "price": "55.00",
          "minutes": 45,
          "sold_out": false
        },
        {
          "name": "Gloss treatment",
          "price": "40.00",
          "minutes": 30,
          "sold_out": false
        }
      ]
    }
  ]
}

Pay 2

Takings and payments. Read only: nothing is charged or refunded from here.

shop_takings pay.read Reads only

What came in: today by card, cash and tips, the last days against the days before, and the latest payments.

Example
POST /api/v1/shop_takings
{
  "days": 7
}
Answer
{
  "today": {
    "card": "1,184.00",
    "cash": "212.00",
    "tips": "236.00"
  },
  "week": "6,920.00",
  "week_before": "6,410.00",
  "latest": [
    {
      "who": "Amelia Valle",
      "for": "Cut and color",
      "how": "card",
      "amount": "142.00"
    }
  ]
}
list_payments pay.read Reads only

Rillo Pay payments on quotes and invoices, newest first, with any refund or dispute.

Example
POST /api/v1/list_payments
{
  "limit": 1
}
Answer
{
  "payments": [
    {
      "who": "Ricks & Sons Produce",
      "amount": "1,250.00",
      "for": "Invoice 1042",
      "paid_at": "2026-10-16T19:04:00Z",
      "refund": null,
      "dispute": null
    }
  ]
}

Connect 6

Your card, the people you met and the events you host.

my_card connect.read Reads only

Your Rillo card as people see it, its share link, its short link and a QR code that opens it.

Example
POST /api/v1/my_card
{}
Answer
{
  "name": "Erika Ocampo",
  "title": "Operations manager",
  "company": "Wallace Hauling",
  "phone": "602-555-0118",
  "link": "https://rilloapp.com/card/erika",
  "qr": "svg"
}
search_rillodex connect.read Reads only

Search the people you met and kept, by name, company, where you met or what you noted.

Example
POST /api/v1/search_rillodex
{
  "query": "mixer"
}
Answer
{
  "people": [
    {
      "id": "c_9cv5jt2y",
      "name": "Jeff Stamper",
      "company": "Phelps Linen Service",
      "met_at": "After-hours mixer at Lemus Mortgage",
      "met_on": "2026-10-09"
    }
  ]
}
save_card connect.write Changes Rillo

Save a card someone shared into your own Rillodex. Nothing is sent to them.

Example
POST /api/v1/save_card
{
  "card": "https://rilloapp.com/card/jeff",
  "met_at": "After-hours mixer at Lemus Mortgage",
  "note": "Runs forty trucks. Call after the 20th."
}
Answer
{
  "saved": true,
  "record": {
    "id": "c_9cv5jt2y",
    "name": "Jeff Stamper"
  },
  "sent": false,
  "shared_with_company": false,
  "undo": {
    "token": "cx_b1d4f6a0c5e9b2d7f4a1c8e3",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
my_events connect.read Reads only

The events you host, next first: when, where, the link, and how many are going and checked in.

Example
POST /api/v1/my_events
{}
Answer
{
  "events": [
    {
      "code": "k4m9q",
      "title": "After-hours mixer at Lemus Mortgage",
      "starts_at": "2026-10-23T17:30:00-07:00",
      "going": 38,
      "waiting": 4,
      "checked_in": 0,
      "link": "https://rilloapp.com/e/k4m9q"
    }
  ]
}
event_guests connect.read Reads only

One event's guest list: who is going, who asked, who checked in and how.

Example
POST /api/v1/event_guests
{
  "code": "k4m9q"
}
Answer
{
  "event": "After-hours mixer at Lemus Mortgage",
  "guests": [
    {
      "name": "Jeff Stamper",
      "company": "Phelps Linen Service",
      "status": "checked_in",
      "how": "pass"
    },
    {
      "name": "Denise Wilson",
      "company": "Lucas Parcel Service",
      "status": "going"
    }
  ]
}
draft_event connect.write Changes Rillo

Draft an event you host. It is not live and nobody is invited until your yes in Rillo.

Example
POST /api/v1/draft_event
{
  "title": "Breakfast for fleet managers",
  "starts_at": "2026-11-06T07:30:00-07:00",
  "where": "Wallace Hauling yard office",
  "about": "Coffee and the new route board."
}
Answer
{
  "drafted": true,
  "live": false,
  "invited": 0,
  "waiting": "Waiting for your yes in Rillo.",
  "undo": {
    "token": "cx_7a3f9c2e8b1d4f6a0c5e9b2d",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}

Reach 4

How customers find you, and the posts drafted for your yes.

draft_post posts.write Changes Rillo

Draft a Google post, a review reply or a Reach fix. Nothing is published from here.

Example
POST /api/v1/draft_post
{
  "kind": "google_post",
  "title": "Walk-ins on Saturdays",
  "body": "Saturdays from 9 to 3, walk in for a cut or a blowout. Book ahead for color."
}
Answer
{
  "drafted": true,
  "published": false,
  "waiting": "Waiting for your yes in Rillo.",
  "undo": {
    "token": "cx_a3f9c2e8b1d4f6a0c5e9b2d7",
    "until": "2026-10-17T16:52:00.000Z",
    "how": "To undo this, call undo_write with this token within ten minutes."
  }
}
reach_standing reach.read Reads only

Where the business stands this month: Google clicks and searches, how often AI assistants name it, and what came from it.

Example
POST /api/v1/reach_standing
{
  "month": "2026-10"
}
Answer
{
  "month": "2026-10",
  "google": {
    "clicks": 412,
    "searches": 5210
  },
  "ai": {
    "named": 3,
    "asked": 10
  },
  "came_from_search": {
    "bookings": 17,
    "leads": 4
  }
}
buying_questions reach.read Reads only

The questions buyers ask Google and AI before they choose a business like yours, and why each matters.

Example
POST /api/v1/buying_questions
{}
Answer
{
  "questions": [
    {
      "q": "Who does color on a Saturday near me?",
      "why": "Asked most this month",
      "from": "Google"
    }
  ]
}
reach_drafts reach.read Reads only

This week's drafted posts, review replies and Reach fixes, and whether each waits for your yes.

Example
POST /api/v1/reach_drafts
{}
Answer
{
  "drafts": [
    {
      "kind": "review_reply",
      "words": "Thank you, Laurie. See you next month.",
      "state": "waiting"
    }
  ]
}

Planning 4

Clean, structured reads to turn into a plan, a deck or a report.

morning_brief book.read Reads only

Today: meetings, follow-ups and tasks due, who to call and why, quiet deals, and the drafts waiting for a yes.

Example
POST /api/v1/morning_brief
{}
Answer
{
  "for": "Brittany Stanley",
  "meetings": [
    {
      "at": "10:00",
      "with": "Denise Wilson"
    }
  ],
  "due": 3,
  "call": [
    {
      "name": "Gina McLaughlin",
      "why": "Fuel surcharge question, two days old"
    }
  ],
  "quiet": 2,
  "drafts_waiting": 2
}
week_plan book.read Reads only

Seven days by day, with the quiet deals placed on the lightest days.

Example
POST /api/v1/week_plan
{
  "start": "2026-10-19"
}
Answer
{
  "days": [
    {
      "day": "2026-10-19",
      "meetings": 2,
      "tasks": 3,
      "follow_up": "Lilia Solorio"
    },
    {
      "day": "2026-10-20",
      "meetings": 0,
      "tasks": 1,
      "follow_up": "Denise Wilson"
    }
  ]
}
pipeline_summary book.read Reads only

Each stage with its count and value, what moved this week, what is new, and what is stuck. Give report (quotes, winrate, bids, activity, heat, accounts, forecast, booked) for one of the nine sales reports, chart-ready: labels, series with units, the filters used and a Vega-Lite spec.

Example
POST /api/v1/pipeline_summary
{}
Answer
{
  "stages": [
    {
      "stage": "New",
      "count": 6,
      "value": "48,000"
    },
    {
      "stage": "Quoted",
      "count": 4,
      "value": "61,500"
    }
  ],
  "moved_this_week": 3,
  "new": 2,
  "stuck": [
    {
      "name": "Lilia Solorio",
      "stage": "Quoted",
      "days": 21
    }
  ]
}
wins_and_losses book.read Reads only

Deals won and lost in the window, with values and reasons, and the reasons counted.

Example
POST /api/v1/wins_and_losses
{
  "days": 90
}
Answer
{
  "won": {
    "count": 7,
    "value": "112,400"
  },
  "lost": {
    "count": 3
  },
  "reasons": {
    "price": 2,
    "timing": 1
  }
}

Undo 1

Every change a tool makes answers an undo token, good for ten minutes.

undo_write notes.write Changes Rillo

Take back one change within ten minutes. Anything a person changed since is kept.

Example
POST /api/v1/undo_write
{
  "undo": "cx_7a3f9c2e8b1d4f6a0c5e9b2d"
}
Answer
{
  "undone": true,
  "what": "note",
  "record": {
    "id": "c_8kq2vd3m",
    "name": "Gina McLaughlin"
  }
}

What no tool does

  • Rillo never deletes anything through the API. A record is deleted in Rillo itself, where only the owner and admins can.
  • Rillo never sends a message from outside Rillo. Draft it with draft_follow_up: it waits in Rillo for a person's yes.
  • Rillo never charges, refunds or takes a payment through the API. A person does that in Rillo.
  • Billing, plans and seats change only in Rillo, Settings, Billing, by the owner. Never through the API.
  • A stage move needs a person's yes in Rillo, so it is never made through the API. Add a note or a task saying what should move, and a person moves it in Rillo.
  • Who a record belongs to changes only in Rillo.

Prompts

Nine ready workflows an assistant offers from its menu (in Claude, as slash commands). Each is built from the tools above, in the caller's own trade words, and every draft it makes waits in Rillo for a yes. Any MCP client lists them with prompts/list and opens one with prompts/get.

Prompt What it does Takes
plan_my_day Plan my day Today in order: who to see, who to call and what to draft first, from your own Rillo. Nothing
morning_brief Morning brief One screen to start the day: what is due, who went quiet, and what is waiting for your yes. Nothing
fill_open_slots Fill my open slots Find the open times and draft an invite to the people most likely to take them. day
who_is_due_back Who is due back The people past their usual rhythm, with a draft to bring each one back. Nothing
follow_up_quotes Follow up on this week's quotes Every quote or estimate still open this week, with a follow-up drafted for each. Nothing
prep_next_meeting Prep me for my next meeting The next meeting on your calendar and everything Rillo knows about who it is with. who
weekly_google_post Write my week's Google post A Google post for this week from what buyers ask, drafted for your yes. topic
who_did_i_meet Who did I meet at this event Everyone who checked in at an event you hosted, and who to follow up with. event
bring_in_my_old_crm Bring in my old CRM Your old CRM or spreadsheets into Rillo once: checked first, shown before anything lands, one group at a time on your yes. files

The HTTPS API

The same tools as plain HTTPS, with the same key or sign-in, permissions and limits. Each tool is POST https://rilloapp.com/api/v1/<tool>: the JSON body is the tool's arguments and the answer is its result.

curl
curl -X POST https://rilloapp.com/api/v1/shop_today \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -H "Content-Type: application/json" \
  -d '{}'
TypeScript
import { Rillo } from './sdk';

const client = new Rillo({ apiKey: process.env.RILLO_KEY });
const day = await client.shopToday({});

The OpenAPI 3.1 description at https://rilloapp.com/api/v1/openapi.json describes every tool and call, and both ways in: the Bearer key and OAuth 2.1 with PKCE. It is public and holds no data: import it into Postman, a GPT's Actions or a code generator. Rillo's TypeScript SDK is generated from it, one typed method per tool in camelCase (shop_today is shopToday), and any OpenAPI 3.1 generator makes the same client in your own language.

The rest of the API

Call What it is
GET /api/v1/openapi.json The OpenAPI 3.1 description. Public.
GET /api/v1/me Your company, the key's name, who made it and its permissions. A cheap call to test a key.
GET /api/v1/usage This month's calls for your company, and this key's own.
POST /api/v1/hooks Subscribe a webhook (below).
DELETE /api/v1/hooks?id=<id>Remove a webhook this key or sign-in made.
GET /api/v1/events?type=<type>The latest five events of one type, for polling or a sample. With no type, the event log (below).
GET /api/v1/<resource>People, companies, deals, bookings, payments, cards and events as lists with cursors (below).
GET /api/v1/export The whole company at once, for its owner or an admin.
POST /api/v1/replay Send one recent event again to your webhooks.
POST /api/v1/sandbox Reset the test company. A test key only.

Errors

Errors come back as { "error", "message" }: 400 for bad arguments or an unknown Rillo-Version, 401 for a missing or revoked key, 403 for a permission it does not have (with step-up for a sign-in) or an action Rillo never takes from outside, 422 when Rillo could not do it (the message says why), 429 for too many calls (with retry-after), and 503 while the API is still being set up for your Rillo.

Resources and export

The tools are verbs for an assistant. These are the nouns, for a developer syncing Rillo with something else: every person, every deal, every booking since yesterday. Read only, through the same key or sign-in, the same permission and the owner's switches, the same company and visibility rules, and the same log.

List Permission Filters
GET /api/v1/people Your people, and the team rows your role may see (their shared fields only). book.read q, stage, in_book, created_since
GET /api/v1/companies Your companies, the same way. book.read q, in_book, created_since
GET /api/v1/deals Every deal: each deal row, and each person's own stage. Status open, won or lost. book.read stage, status, min_value, person_id
GET /api/v1/bookings Meetings and shop visits you hold (the company's, for an owner, admin or manager), by start. book.read from, to, status, kind
GET /api/v1/payments Payments, read only. Nothing is charged or refunded here. pay.read since, status
GET /api/v1/cards The cards in your own Rillodex. Private to you. connect.read q
GET /api/v1/events The event log: what Rillo sent your webhooks, newest first. book.read type, since

Pages

Every list answers the same shape: { object: "list", data, has_more, next_cursor }. Send limit (1 to 100, default 25), and next_cursor back as starting_after for the next page; ?id= answers one object. A filter Rillo does not know is refused by name, never ignored.

curl
curl https://rilloapp.com/api/v1/people?stage=Showing&limit=2 \
  -H "Authorization: Bearer rillo_test_YOUR_TEST_KEY"
Answer
{
  "object": "list",
  "url": "/api/v1/people",
  "has_more": true,
  "next_cursor": "c_4tz7wp1n",
  "data": [
    {
      "object": "person",
      "id": "c_8kq2vd3m",
      "kind": "person",
      "name": "Gina McLaughlin",
      "stage": "Showing",
      "value": 420000,
      "owner": "you",
      "in_book": "own"
    },
    {
      "object": "person",
      "id": "c_4tz7wp1n",
      "kind": "person",
      "name": "Denise Wilson",
      "stage": "Showing",
      "value": 385000,
      "owner": "you",
      "in_book": "own"
    }
  ]
}
The next page
curl https://rilloapp.com/api/v1/people?stage=Showing&limit=2&starting_after=c_4tz7wp1n \
  -H "Authorization: Bearer rillo_test_YOUR_TEST_KEY"

Both SDKs page for you:

TypeScript
import { Rillo } from './sdk';

const client = new Rillo({ apiKey: process.env.RILLO_KEY });
for await (const deal of client.allDeals({ status: 'open' })) {
  console.log(deal.name, deal.stage, deal.value);
}
Python
import os
from rillo import Rillo

rillo = Rillo(api_key=os.environ["RILLO_KEY"])
for deal in rillo.all_deals(status="open"):
    print(deal["name"], deal["stage"], deal["value"])

Export the whole company

GET /api/v1/export answers every list at once as one JSON document: for the company's owner or an admin only, never a partner reaching a client, and logged twice (the call log and the company's activity). Lists the key was not given are named under left_out.

curl
curl https://rilloapp.com/api/v1/export \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -o rillo-export.json

Idempotent writes

Send an Idempotency-Key with any write, any unique string of 8 to 255 characters. The same key and the same request answer the first answer, with Idempotent-Replayed: true, and change nothing; a retried sync or a double tap is one note, not two. The same key with a different request is refused 422, never run. A key is kept 24 hours, per key or sign-in. Over MCP, send it as _meta["idempotency_key"] on tools/call.

curl
curl -X POST https://rilloapp.com/api/v1/add_note \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -H "Idempotency-Key: crm-sync-1001" \
  -H "Content-Type: application/json" \
  -d '{"id":"c_8kq2vd3m","note":"Called, wants Thursday."}'

Partners and agencies

An agency or a software partner reaches many Rillo companies with one key, each on its own owner's yes, which that owner takes back at any time. Send Rillo-Company: <id> with the partner's key and the call runs in that company as the owner who said yes, within both the key's permissions and the ones the owner allowed. Every call shows in the client's own log, and a partner can do through the API only what any key can: nothing is deleted, sent, charged or moved a stage.

  1. Turn partner access on

    Your owner or an admin opens rilloapp.com/developers/partners, signed in to Rillo, and taps Turn partner access on.

  2. Invite a company

    Pick the permissions you will ask for and make an invite link (shown once, good for seven days). Send it to the company's owner.

  3. The owner says yes

    They open the link signed in to Rillo, read who is asking and for what, and tap Allow. They can remove it from the same page whenever they like; the very next call is refused.

  4. Call

    curl
    curl https://rilloapp.com/api/v1/deals?status=open \
      -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
      -H "Rillo-Company: <the client company id>"
    TypeScript
    const client = new Rillo({ apiKey: process.env.RILLO_PARTNER_KEY, company: process.env.CLIENT_ID });
    const open = await client.getDeals({ status: 'open' });

The partner console lists your companies (since when, what they allowed, your calls this month and theirs), your keys and your open invites. The API is included in every paid seat: calls keep working and nothing is charged.

The MCP inspector

Try the MCP server in the browser before you write any code: rilloapp.com/developers/inspector. Paste a test key (rillo_test_...), and it runs initialize, lists the tools and prompts, and calls any tool against your sandbox, showing each JSON-RPC request and answer. The key stays in that tab and is sent only to Rillo.

Webhooks

A webhook sends an event to your address the moment it happens. Subscribe with a key or a signed-in assistant's token. Only owners, admins and managers set them, because a webhook carries the whole company's events, and it needs Read the book. A webhook stops when its key or sign-in is revoked, or when the person who made it no longer holds one of those roles.

curl
curl -X POST https://rilloapp.com/api/v1/hooks \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://hooks.example.com/rillo","events":["booking.made","booking.moved","event.checked_in"],"app":"zapier"}'

The answer carries the webhook's id and its signing secret, shown once. Each delivery is a JSON body, { id, type, version, occurred_at, data }, signed:

Header
x-rillo-signature: t=1792270800,v1=<hex HMAC-SHA256 of "t.body", keyed with the webhook's secret>
A delivery
{
  "id": "evt_3k9w2m7q",
  "type": "event.checked_in",
  "version": 1,
  "occurred_at": "2026-10-23T17:42:10Z",
  "data": {
    "event_code": "k4m9q",
    "title": "After-hours mixer",
    "name": "Jeff Stamper",
    "how": "pass",
    "at": "2026-10-23T17:42:10Z"
  }
}
Check the signature, in Node
import crypto from 'crypto';

function verify(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
  if (Math.abs(Date.now() / 1000 - Number(parts.t)) > 300) return false;
  const want = crypto.createHmac('sha256', secret).update(parts.t + '.' + rawBody).digest('hex');
  return want.length === String(parts.v1).length && crypto.timingSafeEqual(Buffer.from(want), Buffer.from(parts.v1));
}

Reject a delivery whose t is more than 300 seconds old. A failed delivery is tried again after 2, 4, 8 minutes and so on, up to 6 hours apart; after the eighth try it stops. Settings shows each delivery. Addresses must be public https.

Events

Event When
booking.moved New A booking moves to a new time.
booking.cancelled New A booking is cancelled.
walk_in.joined New Someone joins the walk-in line.
card.saved New A card is saved into your Rillodex.
event.rsvp New Someone RSVPs to an event.
event.checked_in New A guest checks in at an event.
lead.created A new lead.
contact.created A person or company is added.
lead.assigned A lead is assigned to someone.
deal.stage_changed A deal moves stage.
deal.won A deal is won.
deal.lost A deal is lost.
task.created A task is made.
task.completed A task is done.
appointment.created A meeting goes on the calendar.
note.added A note is added to a record.
meeting.noted A meeting-notes tool's notes land on a record.
leadform.submitted Someone fills in a lead form.
booking.made A booking is made.
quote.signed A quote is accepted.
payment.paid A Rillo Pay payment is paid.
invoice.paid An invoice is paid in QuickBooks or Square.
workflow.ran A workflow runs.

Polling and replay

GET /api/v1/events?type=<type> answers the latest five of a type, newest first, in the same envelope: for a polling trigger, or a trigger's sample. To send one recent event again (from the last seven days) to the webhooks you made that asked for it:

curl
curl -X POST https://rilloapp.com/api/v1/replay \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -H "Content-Type: application/json" \
  -d '{"event_id":"evt_3k9w2m7q"}'

Zapier and Make

Rillo's own Zapier and Make apps are built: every event above is a trigger and every tool an action. They are not in Zapier's or Make's public listings yet. Until they are, connect with the pieces above: a webhook to start a Zap or a scenario (Webhooks by Zapier, or Make's custom webhook) and the HTTPS API with your key for every action.

Versioning

Every answer carries a Rillo-Version header with the dated version it answered as. Send Rillo-Version: 2026-10-18 to pin it; leave it out for the current version, 2026-10-18. A date Rillo does not know is answered 400 with the ones it does, so a typo never quietly becomes the newest. Versions: 2026-10-18, 2026-10-17, 2026-10-07, 2026-10-02.

curl
curl https://rilloapp.com/api/v1/me \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -H "Rillo-Version: 2026-10-18"

The deprecation rule

A version stays supported for at least 12 months after the next one ships, and nothing is removed from a version you pin. A tool or field that is going away keeps working, is marked in the changelog, and is announced on every answer that uses it with a Deprecation header and a Sunset date at least 90 days ahead. Adding a tool, a field, a prompt, a scope or an event is never a breaking change.

Nothing is deprecated today.

Changelog

Platform V2 2026-10-18

  • One tool layer: the MCP server, the HTTPS API, the app's own Ask and crew, partners, Zapier and Make all run the same contract (docs/connector/TOOL-LAYER.md): guard, permission, input schema, trade rule, undo token, log row.
  • Resource lists with cursors beside the tools: GET /people, /companies, /deals, /bookings, /payments, /cards and /events, each filtered, scoped and permission checked, in Stripe's list shape (data, has_more, next_cursor; starting_after for the next page; id for one).
  • GET /export: the whole company at once, for its owner or an admin, logged.
  • Idempotency-Key on every write: the same key and request answer the first answer (Idempotent-Replayed: true) and change nothing.
  • Partners: a partner's key with Rillo-Company: <id> acts in a client company on that company owner's consent, revocable at any time; the partner console lists companies, usage and keys.
  • Two tools: hand_to_agent (a crew agent takes the next step, waiting for your yes) and ask_stage_move (a stage move waiting for your yes).
  • The six Shops and Connect events are pushed from where they happen, in the app too, not only polled. A drafted event's yes is a card in Waiting for your yes.
  • GET /events with no type is the event log (a list). Pinned to 2026-10-17 or with only ?type=, it answers as before.

Platform V1 2026-10-17

  • Every product speaks: 15 tools across Shops (shop_today, shop_client, shop_regulars, shop_menu), Pay (shop_takings, list_payments, read only), Connect (my_card, search_rillodex, save_card, my_events, event_guests, draft_event) and Reach (reach_standing, buying_questions, reach_drafts).
  • Five scopes: shop.read, pay.read, connect.read, connect.write, reach.read.
  • MCP prompts: plan_my_day, morning_brief, fill_open_slots, who_is_due_back, follow_up_quotes, prep_next_meeting, weekly_google_post, who_did_i_meet, bring_in_my_old_crm.
  • Step-up: a tool past a sign-in's grant answers 403 insufficient_scope naming the scope, so the assistant asks for it in the chat.
  • Tool descriptions, prompts and answers in the caller's own trade words; drafts that break a trade's rule are refused.
  • Test mode: rillo_test_ keys reach only a sandbox company named Test, reset on demand.
  • Rillo-Version on every answer; OpenAPI describes OAuth 2.1 with PKCE; a TypeScript SDK generated from it.
  • Webhooks by a signed-in assistant as well as a key; six events (booking.moved, booking.cancelled, walk_in.joined, card.saved, event.rsvp, event.checked_in); replay of a recent event.
  • The per-minute limit is counted across every server, not per instance.

Access V1 2026-10-07

  • Every job a person does, behind the owner's switches per action group and per seat: bookings (find, book, move, cancel as an ask), merging as an ask, walk-ins, the waitlist, menu items, drafted posts, documents and team messages, the team report.

Connector V1 2026-10-02

  • The MCP server at /api/mcp and its HTTPS twin at /api/v1/<tool>, scoped API keys, the OpenAPI description, webhooks for Zapier and Make.

Limits and security

  • Limits. 60 calls a minute and 1,000 an hour for each key or signed-in assistant, counted across every Rillo server, and 120 a minute from any one address. Past a limit the answer is 429 with retry-after, and nothing is charged for it. Every answer carries RateLimit-Policy: 60;w=60, 1000;w=3600. A search returns at most 20 records.
  • What is logged. Every call that passes the key is logged with the key, the person, the tool and the time, never what was sent. Owners and admins see the latest calls, and calls by day and by key, in Settings.
  • What never happens from outside. Nothing sends, charges, refunds, deletes or moves a stage without a yes in Rillo, and no key sees another company.
  • Revoke in one tap. Revoke a key in Settings and it stops at once, even in the middle of a call: a write that had not landed yet is not made.
  • Keep it secret. Treat a key like a password: keep it out of shared files and code, and revoke it if it gets out.

Keys

An owner or admin makes a key in Rillo, in Settings, Connections, Assistants and API, under Keys, webhooks and the log (the same page shows who is connected). They name it and pick its scopes.

  • A key reads rillo_k_ and 43 more characters (rillo_test_ for a test key). Rillo shows it once, when it is made, and keeps only a hash of it. Copy it then.
  • A key acts as the person who made it, with the role they hold now, read again on every call. An owner, admin or manager sees every shared record in the company, a team lead their team's, anyone else their own. A key never sees another company, and writes only to records in its maker's own book.
  • Revoke a key in the same place and it stops at once, with any webhooks made with it. If the person who made it leaves the company, it stops too.
  • Up to 20 live keys a company.

If Connect Rillo to your AI says Being set up, the API is not on for your Rillo yet: every call answers 503 until it is.

Put Rillo on your website

The crew's Receptionist answers, books and takes requests on your own website, from your own prices, hours and booking page, in English and Spanish. It is included in Shops and the CRM. The owner sets it up in Rillo, in Settings, Your website Receptionist: one line, steps for WordPress, Squarespace, Wix, Shopify and Webflow, and Check my install.

The line, before </body>
<script src="https://www.rilloapp.com/askus.js" data-business="your-business"></script>

It answers in full only on the websites the owner lists; anywhere else it shows your booking page and nothing more. For a builder that strips scripts, use the frame:

The frame
<iframe src="https://www.rilloapp.com/receptionist/your-business" title="Chat with us" style="width:100%;max-width:420px;height:640px;border:0"></iframe>

The JavaScript API. The line adds window.RilloAgent. Open it from your own button, start it with a question, and hear what happened (names only, never what a visitor typed). Several on one page are told apart by data-id.

JavaScript
RilloAgent.open();
RilloAgent.prefill('Do you have anything Saturday morning?');
RilloAgent.on('booking', function (e) { gtag('event', 'booked', { agent: e.id }); });
RilloAgent.on('lead', function (e) { console.log('request taken by', e.id); });
RilloAgent.close();

Your own front end. With your company's key, post a visitor's message and get the same answer the website gets: the reply, quick replies, service and booking cards, and a sealed state to send back with the next message. It reaches your Receptionist and nothing else, with the same limits.

HTTPS
curl -X POST https://rilloapp.com/api/storefront/key \
  -H "Authorization: Bearer rillo_k_YOUR_KEY_GOES_HERE" \
  -H "Content-Type: application/json" \
  -d '{"text":"Are you open Saturday?"}'
Answer
{"reply":"Saturday the hours are 8 AM to 4 PM.","chips":["Book","Call me"],"cards":[],"events":[],"state":"s1.eyJz..."}

Plans and pricing

Included in every paid seat. The Rillo API comes with every paid seat: no separate API plan and no price per call. Settings shows your calls by day and by key. Calls keep working and nothing is charged. Test keys are never refused for a plan.

Building on Rillo, or calling it a lot? The partner tier is for software that builds on Rillo and companies with a lot of volume: more calls, higher limits, and a person at Rillo who knows your integration. Talk to us.

What a key can read and write is what the person who made it can, in the products your workspace has. See pricing for the plans themselves.

Help

Something not working? Write to Rillo support with the key's name (never the key), what you called, the Rillo-Version and what came back.

Help with the Rillo API

support@rilloapp.com

Say which key (its name, never the key itself), what you called and what came back.

Connect your assistant today.

Included with every paid seat. Nothing sends, charges or deletes without your yes.

Which one are you?

One login, one record: the card you hand someone, the list at your counter and the accounts your reps carry are the same record.

I want to meet people

Free, forever

Rillo

The company behind Connect

hello@rilloapp.com
Rillo

Scan to open this card. Tap to close.

Your card, your Rillodex, and a CRM when you want one. Write to us any time.

Hand over your card, they scan it, and you are in their phone. Everyone you meet lands in your Rillodex.

Rillo Connect about a minute

I run a shop

From $79 a month

We check your Google listing, build your pages and ask for reviews, so customers can find you. A regulars list builds itself at the counter.

Rillo Shops set up with you

I run a sales team

From $49 a seat

Talk after a call and Rillo writes the record and sets the follow-up. Built for the phone first, and just as good at the desk.

Rillo CRM 30 days free