> ## Documentation Index
> Fetch the complete documentation index at: https://docs.animo.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Animo MCP

> Hosted Model Context Protocol server for AI agents. OAuth for chat clients, personal access tokens for everything else.

# Animo MCP

The Animo MCP lets AI agents (Cursor, Grok, Claude, and others) create and operate events **without wrapping REST by hand**.

**Endpoint:** `POST https://app.animo.co/mcp`

This is a first-party MCP server. Chat clients (Claude, ChatGPT, Cursor) connect with OAuth. Anything that already holds a key uses a personal access token, the same tokens as [REST API v1](https://docs.animo.co/authentication.md).

## Connect a client

### OAuth

`POST /mcp` with no token answers **401** and a `WWW-Authenticate` header whose `resource_metadata` URL is `/.well-known/oauth-protected-resource/mcp`. From there:

1. The client reads `/.well-known/oauth-authorization-server` and registers itself at `POST /oauth/register` (10 requests per minute per IP).
2. The user approves the client on the existing Passport consent screen. The grant is the single scope `mcp:use`.
3. The client sends `Authorization: Bearer {access_token}` on every later call.

`mcp:use` acts as that user. Company policies still decide what a call can touch, and `company_id` still only selects a company the user already belongs to. The attendee tools stay behind the `mcp-attendee-tools` flag. The personal-token screen does not offer `mcp:use`.

### Personal access token

Create a PAT in Animo (User settings → API tokens) with the scopes the agent needs. Put it on every MCP request:

```http theme={null}
POST /mcp HTTP/1.1
Host: app.animo.co
Authorization: Bearer {personal_access_token}
Accept: application/json
Content-Type: application/json
```

Example Cursor / MCP client config:

```json theme={null}
{
  "mcpServers": {
    "animo": {
      "url": "https://app.animo.co/mcp",
      "headers": {
        "Authorization": "Bearer {personal_access_token}"
      }
    }
  }
}
```

Do **not** put a company identifier in connector headers unless you want a static single-workspace shortcut (see below). Agents should select company context with tools.

## Auth vs company context

| Concern | Source |
| - | - |
| Who is calling | PAT (`Authorization: Bearer`) |
| Which companies they *may* use | Membership of that user + `USE_API` (all plans, including Free) + API policies |
| Which company this call uses | Optional `company_id` tool argument |

Supplying `company_id` **never grants access**. It only selects among companies the authenticated user is already allowed to use.

Resolution order:

1. `company_id` on the tool call (sqid from `list_companies`; slug also accepted)
2. `X-Animo-Company-Sqid` header (optional fallback for static clients)
3. Auto-resolve when the token has **exactly one** API-capable company
4. Otherwise `COMPANY_REQUIRED` with the eligible companies in `details`

Typical agent loop:

1. `list_companies`
2. Pass `company_id` on the next tool call if more than one company is returned
3. Continue with event/ticket/page tools

The MCP has no tenant session — only a protocol `sessionId`. Company context is therefore per tool call, not sticky across the HTTP session.

## Tools

| Tool | Kind | Scopes |
| - | - | - |
| `list_companies` | READ | `companies:read` |
| `list_events` | READ | `events:read` |
| `get_event` | READ | `events:read` |
| `create_event` | WRITE | `events:create` |
| `create_attending_event` | WRITE | `events:create` |
| `update_event` | WRITE | `events:update` |
| `get_event_page` | READ | `events:read` |
| `update_event_page` | WRITE | `events:update` |
| `set_event_image` | WRITE | `events:update` |
| `list_ticket_types` | READ | `ticket-types:read` |
| `create_ticket_type` | WRITE | `ticket-types:create` |
| `update_ticket_type` | WRITE | `ticket-types:update` |
| `list_discounts` | READ | `discounts:read` |
| `create_discount` | WRITE | `discounts:create` |
| `update_discount` | WRITE | `discounts:update` |
| `list_discount_codes` | READ | `discounts:read` |
| `create_discount_code` | WRITE | `discounts:create` |
| `list_comms` | READ | `events:read` |
| `get_comm` | READ | `events:read` |
| `update_comm` | WRITE | `events:update` |
| `get_schedule` | READ | `schedule:read` |
| `create_timetable` | WRITE | `schedule:create` |
| `update_timetable` | WRITE | `schedule:update` |
| `delete_timetable` | WRITE | `schedule:delete` |
| `create_location` | WRITE | `schedule:create` |
| `update_location` | WRITE | `schedule:update` |
| `delete_location` | WRITE | `schedule:delete` |
| `create_activity` | WRITE | `schedule:create` |
| `update_activity` | WRITE | `schedule:update` |
| `delete_activity` | WRITE | `schedule:delete` |
| `list_speakers` | READ | `schedule:read` |
| `create_speaker` | WRITE | `schedule:create` |
| `update_speaker` | WRITE | `schedule:update` |
| `delete_speaker` | WRITE | `schedule:delete` |
| `list_attendees` | READ | `orders:read` + [opt-in](#these-two-tools-are-off-by-default) |
| `get_attendee` | READ | `orders:read` + [opt-in](#these-two-tools-are-off-by-default) |
| `qa_event` | READ | `events:read`, `ticket-types:read` |
| `publish_event` | EXECUTE | `events:read`, `ticket-types:read`, `ticket-types:update` |

There is no generic HTTP/`call_api` tool.

`tools/list` returns the full curated set on the first page (MCP server otherwise paginates at 15). Clients that ignore `nextCursor` still see every authorized tool.

### Default flow

1. `list_companies` if you need a `company_id`
2. `create_event` — always organizing; **does not publish** (`published` is `false` until ticket types are shop-visible)
3. `update_event_page` + `set_event_image` (`slot=header` only)
4. `create_ticket_type` — new tickets default to `hidden_from_shop=true`
5. Optional `create_discount` + `create_discount_code` to hand out a promo code — see [Discounts](#discounts)
6. Optional `update_comm` for `registration_confirmation` — **never sends email**
7. Optional `get_schedule` → `create_timetable` / `create_location` / `create_activity` to build the agenda — see [Schedule](#schedule)
8. `qa_event`
9. `publish_event` with `ticket_type_slugs` — only when the user explicitly asks to publish
10. Share the hosted URL: `https://app.animo.co/{company-slug}/event/{event-slug}`

Events the company only attends (a trade show, another organizer's conference) are added with `create_attending_event`, not `create_event`. They have no page, tickets, schedule or attendees and are never published, so steps 3 to 10 do not apply to them. `list_events` returns both kinds; `company_role` tells them apart. See [`create_attending_event`](#create_attending_event).

### Schedule

The agenda is four things that nest: a **timetable** is one day of the event, a
**location** is a stage or room within that day, an **activity** is one session in a
location, and a **speaker** is a person billed on sessions.

Read it with `get_schedule` before writing anything: `create_activity` needs a
`timetable_id` and a `location` slug from there, and a location slug only means something
within its own day.

* **Times are wall clock in the event timezone**, `HH:mm`, never a UTC offset — the same
  rule the event datetimes follow. `duration` is in minutes and an activity's `ends_at`
  is worked out from the two; it cannot be set.
* **`create_timetable` also creates a location**, so a new day can hold an activity
  straight away. Each day's `date` must be unique within the event.
* **An activity outside the day's hours widens the day** rather than being refused. The
  day never widens past 23:59 of its own date, and `duration` is at most 1440 minutes.
* **An activity can move between locations of the same day, not between days.** The start
  time is wall clock against that day's date. Create it on the other day and delete the
  original.
* **`speakers` replaces the whole list** billed on an activity. Read it with
  `get_schedule` first; `[]` removes them all. Every id must belong to the event's
  company.
* **A speaker is a company-level record reused across events.** `create_speaker` adds one
  to the company — it does not put them on a session; `create_activity` and
  `update_activity` do that. `list_speakers` before creating, or the same person ends up
  in the list twice.
* `delete_timetable` deletes that day's locations and all of their activities;
  `delete_location` deletes its activities; `delete_speaker` removes that speaker from
  every activity on **every event** of the company. The speakers themselves survive the
  first two, and the activities survive the third.
* A day must keep at least one location, so `delete_location` refuses the last one — use
  `delete_timetable` instead.
* An event with no agenda comes back from `get_schedule` with an empty `timetables` list
  and a `note` saying to call `create_timetable`. That is not an error, and `get_schedule`
  creates nothing.

Activity images and speaker photos are fields of their record: send `image_url` /
`image_base64` on `create_activity` and `update_activity`, `avatar_url` /
`avatar_base64` on `create_speaker` and `update_speaker`. Both accept jpg, png, webp,
apng or avif up to 1 MB. Clearing one is the explicit `remove_image` / `remove_avatar`
boolean, because a null argument means *leave this as it is*.

See [Schedule](https://docs.animo.co/endpoints/schedule.md) for the REST equivalents.

### Discounts

A **discount** says what comes off a price and belongs to the company; a **code** hands it
out on one event. `create_discount` on its own changes nothing a buyer sees — a discount
with no code cannot be applied to an order, so `create_discount_code` is the second half.

* `list_discounts` is paginated. Pass `event_id` to also get the first page of the codes
  handing each discount out on that event; `codes_count` is how many there are in total.
* `list_discount_codes` takes `event_id` (the codes of that event), `discount_id` (where
  that promotion has been handed out, across every event), or both. At least one is
  required.
* A code names the **paid** ticket types it applies to, by slug, and is stored upper
  cased. The same string may be reused on another ticket type of the event but not on one
  that already has it.
* A bundle's two quantities are a pair: `update_discount` takes both or neither.
* `max_uses` and `expires_at` come back on every code and are always `null`. They are
  reserved; no tool sets them.

No tool deletes a discount or a code. `update_discount` with `is_active=false` is how a
promotion is called off from MCP — every code handing it out stops working, and no order
that already used it is touched. For an actual delete, use
`DELETE /api/v1/{company}/discounts/{discount}` or
`DELETE /api/v1/{company}/event/{event}/discount-codes/{code}` with the `discounts:delete`
scope. See [Discounts](https://docs.animo.co/endpoints/discounts.md).

### Event publication

Animo has no event-level draft flag. `list_events` and `get_event` expose `published`:

* `false` — organizing event has no active, shop-visible ticket type (the create\_event default)
* `true` — at least one ticket type is `active` and not `hidden_from_shop` (what `publish_event` does)

An event the company attends carries no `published` key at all: it has no ticket types and nothing to publish. Read `published` as optional, and `company_role` to tell the two kinds apart.

Do not infer publication from ticket lists or from whether `publish_event` was called in this session.

#### `publish_event` publishes what you name

`ticket_type_slugs` is **required** and says which ticket types become shop-visible
(`hidden_from_shop=false`, `active=true`):

```json theme={null}
{ "event_id": "summer-summit", "ticket_type_slugs": ["general", "vip"] }
```

* Pass `["*"]` for every ticket type of the event. A bare `"*"` is accepted too.
* Slugs come from `list_ticket_types`. An unknown slug returns `NOT_FOUND` with
  `details.available_ticket_type_slugs`, and nothing is published.
* Ticket types you leave out **keep their current visibility**. A tier the organiser hid on purpose — an
  expired early-bird, a staff-only tier, a sold-out sponsor ticket — stays hidden, so ask before putting one
  back on sale.
* `ticket_types_made_visible` in the response lists only the ones that actually changed; a ticket type that was
  already visible is a no-op.
* `published` in the response is read back from the event, so it is `false` if nothing ended up shop-visible.

### Dates and times

`date_start` and `date_end` are **local wall time in the event's own timezone** — the timezone of the city for
offline events, the `timezone` argument for online ones. Accepted spellings:

```
2026-10-22 18:00        2026-10-22T18:00
2026-10-22 18:00:00     2026-10-22T18:00:00
```

Seconds are accepted and truncated to the minute.

**A UTC offset or a trailing `Z` is rejected, not converted.** `2026-10-22T18:00:00Z` and
`2026-10-22T18:00:00+02:00` both return `VALIDATION_ERROR`. This is deliberate: an offset used to be silently
discarded and the remaining wall time read in the event's timezone, which created events at the wrong hour with
nothing to show for it. Send the local time and let the event's timezone do the work.

**The output is not in the same format as the input.** `get_event` and `list_events` return `date_start` and
`date_end` as UTC ISO 8601 with a `Z` (`2026-10-22T16:00:00.000Z`) — the one shape you cannot send back. So do
not round-trip a value you read: converting `18:00` Amsterdam into `16:00Z` and sending that back would be
rejected, and sending `16:00` would move the event two hours earlier. To get the local time, convert
`date_start` into the `timezone` returned in the same payload.

Changing an event's `timezone` and its dates in the same `update_event` call is fine — the dates are read in the
**new** timezone, not the old one.

### `update_event`

* `slug` is slugified before it is checked for uniqueness, so `"Autumn Summit 2026!"` is stored as
  `autumn-summit-2026`. It must be unique within the company; a slug with no usable characters is
  `VALIDATION_ERROR`. Changing the slug changes the public URL.
* `tax_country` is an ISO 3166-1 alpha-2 code and is applied when you send it. **Moving the event to a city in
  another country does not change it** — where a company is registered for tax is not a function of where the
  event is held. Set it explicitly if it should change.
* Naming a `venue` Animo has not seen before **creates** it. An existing venue is matched case-insensitively
  within the event's city first, so `loft88` reuses `Loft88` rather than adding a duplicate. A venue created this
  way is little more than a name and an address: it has no Place ID, and therefore no coordinates, maps link or
  venue timezone. Pass `venue_google_place_id` when you want the fully resolved venue.
* `venue_address` without a `venue` name creates nothing and leaves the venue unchanged.

### `update_event` cohosts

`cohosts` is the list of organizations presented as co-hosting the event. Each entry's name and
privacy policy link are shown beside the consent copy when someone registers:

```json theme={null}
{
  "event_id": "summer-summit",
  "cohosts": [
    { "id": "A1b2C3", "name": "Partner Org" },
    { "name": "New Partner", "privacy_policy": "https://newpartner.example.com/privacy" }
  ]
}
```

* **A write replaces the whole list.** Call `get_event` first and send the co-hosts you are
  keeping back alongside the new one, or the ones you leave out are deleted.
* Keep each entry's `id` to update that co-host in place. An entry with no `id` is added; an `id`
  that is not on this event is `VALIDATION_ERROR` and nothing is written.
* Order is the display order.
* `name` is required, at most 255 characters.
* `privacy_policy` is optional and must be an `http` or `https` URL of at most 512 characters. A
  bare domain is completed to `https`; any other scheme — a `javascript:` URL, a `mailto:` — is
  `VALIDATION_ERROR`, and nothing is written.
* Only an event the company **organizes** can have co-hosts — every event `create_event` makes is
  one. Sending them for an attending event is `VALIDATION_ERROR`.
* `cohosts` is always present on a `get_event` / `update_event` response, as `[]` when none are
  set. Compare it to what you sent to see what was kept.

### `update_event_page` links

`links` is the list of website and social links shown as icon buttons on the hosted event page. It is a flat
array of URL strings — there is no label and no network name to send, the icon is worked out from the URL:

```json theme={null}
{ "event_id": "summer-summit", "links": ["https://example.com", "https://www.linkedin.com/company/acme"] }
```

* **A write replaces the whole list.** There is no add or remove. Call `get_event_page` first and send the
  existing links back alongside the new one, or the ones you leave out are gone.
* Order is the display order, left to right.
* Each link must be an `http` or `https` URL of at most 512 characters. Anything else — a `javascript:` URL, a
  `mailto:`, a bare domain with no scheme — is `VALIDATION_ERROR`, and nothing is written. Use `support_email`
  for a contact address.
* At most **20** links. More is `VALIDATION_ERROR`.
* Blanks and duplicates are dropped, first occurrence kept. The response carries the stored list, so compare it
  to what you sent to see what was kept.
* `links` is always present on a `get_event_page` / `update_event_page` response, as `[]` when none are set.

### `null` does not clear a field

`update_event`, `update_event_page` and `update_ticket_type` drop null arguments before applying them, so there
is no way to unset a field through the MCP — sending `"privacy_policy": null` leaves the stored value alone, it
does not empty it. Omitted and null mean the same thing: *leave this as it is*. To clear a field, use
[REST v1](https://docs.animo.co/endpoints/events.md) or the Animo UI. Agents sometimes retry a null in a loop expecting it to erase
something; it will not.

**Three exceptions:** `update_event_page` empties the link list when you send `"links": []`,
`update_event` removes every co-host when you send `"cohosts": []`, and `update_activity`
removes every speaker when you send `"speakers": []`. An empty array is not a null, so it survives
and is written. `"links": null`, `"cohosts": null` and `"speakers": null` still mean *leave this as it is*.

Files are the other way round, for the same reason: `update_activity` and `update_speaker` take
`remove_image` / `remove_avatar` booleans, because a null `image_url` would be dropped before it
could clear anything.

### `create_event` location

JSON Schema cannot express “required only when offline”. The schema therefore leaves `city`, `province`, `country`, and `timezone` optional, and the tool validates:

* `attendance_mode=offline` → `city`, `province`, and `country` are required (venue optional)
* `attendance_mode=online` → `timezone` is required

When Google Places is unavailable, Animo reuses an existing city that uniquely matches the supplied name (and country/province when that disambiguates). It never creates a city or venue with a missing Place ID, and it never converts the event to online. If no existing city can be resolved, the tool returns `LOCATION_UNRESOLVED`. An unmatched venue name is omitted; the event stays offline in the resolved city.

For a city Animo has not seen before, the timezone and country are resolved **before** the event is saved, so the dates you send are read as wall time in that city. If that lookup fails, the event is still created and the `note` carries a `WARNING` saying the dates were stored against the application default — call `update_event` with an explicit `timezone` and the same dates to correct them.

### `create_attending_event`

Adds an event the company goes to but does not organize — a trade show, a conference, another
organizer's meetup. It sends no email and needs the `events:create` scope, the same as
`create_event`.

* **Arguments** are `create_event`'s minus `tax_country` and `requires_ticket_assignment`: `name`,
  `date_start`, `date_end`, `attendance_mode` and `locale` are required, and the
  [location rules](#create_event-location) are identical — offline needs `city`, `province` and
  `country`, online needs `timezone`. `requires_ticket_assignment` is refused with
  `VALIDATION_ERROR` and nothing is saved, the same as on `update_event`; leave it out.
  `tax_country` is ignored.
* **The result** is the `event` summary and a `note`. There is no `public_url`: an attending event
  has no public page in Animo, so there is no link to share.
* **Nothing else applies to it.** It has no event page, ticket types, discount codes, schedule,
  comms or attendees, and it is never published. Change its name, dates or location with
  `update_event`; read it with `get_event`.

Two things follow for the other tools once you hold an attending event's id:

* Every tool that works on an event the company organizes — `create_ticket_type`, `get_schedule`,
  `update_event_page`, `publish_event` and the rest — answers `NOT_FOUND` for it. The message says
  the event is one the company attends, and the mitigation points you to `get_event` /
  `update_event` or to an event whose `company_role` is `organizing`. An id that matches no event of
  the company still gets the plain not-found, so the two cases can be told apart. If the user asked
  for tickets or a schedule on such an event, tell them it does not apply to an event they attend.
* `get_event` and `update_event` return no `public_url` for it, and `list_events`, `get_event` and
  `update_event` return no `published`. The keys are left out, not sent as `null`, so read them as
  optional.

### Safety rails

* `create_event` never publishes and never sends mail
* `update_comm` does not accept `audience` in the writable schema; leftover `audience` is still `UNSUPPORTED` and does not send mail
* `set_event_image` only advertises `slot=header`. `slot=cover` is `UNSUPPORTED` (API v1 only has `header_image`)
* Hosted MCP accepts `image_url` (http/https) or `image_base64`. Local filesystem `image_path` is not supported
* Header images must be jpg/png/gif/webp/avif/apng, at least 320px wide, and at most 8 MB. Recommended size is 1080×1080 px (1:1)
* **An image that will not fit in `image_base64` is not a dead end.** The 8 MB cap is measured on the base64 text,
  and an agent's own context budget runs out well before it. Re-export at 1080×1080 as JPEG or WebP (the header is
  cropped to that square regardless, so a larger file buys nothing), or host the image and pass `image_url`. If
  neither is possible, the `UNSUPPORTED` mitigation carries a deep link to that event's page editor so the agent
  can tell the user exactly where to upload it by hand — agents should never drop an image silently
* `image_url` must resolve to a **public** host. Loopback, link-local, private and carrier-grade-NAT addresses
  are refused, as are hosts that resolve to nothing, and the check applies to every address a host answers with
  — not just the first. Non-canonical spellings of a private address (`http://2130706433/`, `http://0177.0.0.1/`)
  are refused too. Refusals answer `UNSUPPORTED` without saying what is or is not reachable
* **Redirects are not followed.** A `3xx` on `image_url` returns `UNSUPPORTED` with "The image URL redirects
  somewhere else." Shortened and shared links usually redirect, so resolve the URL to its final target first
* `publish_event` refuses when `qa_event` reports **errors**, unless `confirm_despite_issues=true` with explicit user intent
* `publish_event` only touches the ticket types listed in `ticket_type_slugs`; it never unhides a tier you did not name
* Paid tickets stay on Animo-hosted checkout. Never rebuild payments, VAT, or form ingest

## Attendee data leaves Animo

`list_attendees` and `get_attendee` return **attendee personal data** as the tool result:

* `list_attendees` — name, email address and registration status, per attendee.
* `get_attendee` — the same, plus the whole order: amount paid, currency, VAT percentage and exemption status,
  and the `paid_at` / `approved_at` / `rejected_at` / `cancelled_at` timeline. With the relations loaded it also
  carries the form submission, the lead record and the country.

That result goes to whatever MCP client is connected, and from there to that client's model provider: Cursor,
Claude, Grok, or anything else holding the token.

This is worth being deliberate about. Attendee names and emails are personal data that the organiser collected
through Animo; calling these two tools sends it onward to the MCP client and its model provider, which may be a
party the organiser has no agreement with. Whether that is acceptable depends on the organiser's own obligations
and on which client is connected — so it is the organiser's decision, not something an agent should make by
reaching for the data.

### These two tools are off by default

`orders:read` is **not enough** to reach attendee data. Both tools are additionally gated on a per-company
feature flag, `mcp-attendee-tools`, which is disabled for every company until someone at Animo enables it:

* While it is off, the two tools are not in `tools/list` at all, and calling one answers
  `Tool [list_attendees] not found`. Nothing about the company's attendees is exposed, including whether any
  exist.
* It is enabled **per company**. A user with two companies who has opted one in sees the tools, and calling them
  against the other company returns `FORBIDDEN` with `details.required_features`.

Animo staff enable it per company from the admin **Feature Flags** panel ("MCP attendee tools"). There is no
self-service switch and no API for it, deliberately — ask Animo, and expect to be asked whether the organiser
has agreed.

Practical guidance:

* Issue tokens **without `orders:read`** unless the agent's job genuinely needs attendee data. Every other tool
  keeps working, and a token missing the scope does not see these two at all. The scope and the flag are
  independent: you need both.
* Prefer aggregate answers. If the question is "how many people are coming", `list_attendees` is the wrong
  instrument for it.
* Agents: do not pull the attendee list "for context". Call it when the user asks for attendee data, and say
  where it is going.

The rest of the toolset — event, ticket, page and comms content — is the organiser's own business data, and
carries none of this.

## Rate limits

`/mcp` and `/api/v1/*` share one limiter:

| Caller | Limit |
| - | - |
| A personal access token or an OAuth access token | **120 requests/minute**, per token |
| No token | 30 requests/minute, per IP |
| `POST /oauth/register` | 10 requests/minute, per IP |

Every response carries `X-RateLimit-Limit` and `X-RateLimit-Remaining`. Over the limit you get HTTP **`429`**
with `Retry-After` in seconds — a plain HTTP response, *not* a JSON-RPC error body with an `isError` tool result,
so a client that only inspects tool payloads will see nothing useful. Check the status code.

Buckets are keyed on the token, not the user or the IP, so a second token gets its own allowance and agents
behind a shared provider egress IP do not compete.

One agent turn can easily be a dozen tool calls, and some of them are not cheap: an offline `create_event` in a
city Animo has not seen makes a Places autocomplete call plus a place-details and a timezone lookup, and
`set_event_image` fetches a file over the network. Back off on `429` rather than
retrying immediately.

## Agent errors

Failed tools return MCP `isError` with JSON:

```json theme={null}
{
  "error": true,
  "code": "COMPANY_REQUIRED",
  "message": "Multiple companies are available. Select one before calling this tool.",
  "mitigation": "Call list_companies, then pass company_id (the company `id` sqid) on the next tool call.",
  "details": {
    "companies": []
  }
}
```

| Code | Meaning |
| - | - |
| `UNAUTHORIZED` | Missing or rejected PAT |
| `FORBIDDEN` | Missing scope or company cannot use the API |
| `NOT_FOUND` | Unknown event/ticket/comm/attendee/discount, or a company this PAT may not use |
| `COMPANY_REQUIRED` | Multiple companies; pass `company_id` |
| `VALIDATION_ERROR` | Bad arguments |
| `UNSUPPORTED` | Capability not in API v1 (cover image, comms audience, local image path), or an `image_url` Animo will not fetch — non-public host, redirect, non-http scheme, oversized body |
| `QA_FAILED` | `publish_event` blocked by QA errors |
| `EXTERNAL_SERVICE` | An Animo dependency failed. `details.http_status` may be present |
| `LOCATION_UNRESOLVED` | Offline city/venue could not be resolved. Keep `attendance_mode=offline`; do not switch to online. `details.http_status` may be present when Places failed |
| `BUSY` | Another request was creating an event for the same company and this one gave up waiting. Nothing was saved; send the same call again in a few seconds |
| `INTERNAL_ERROR` | Unexpected server error. Logged server-side; the agent payload is generic |

Bearer tokens, filesystem paths, and secret-like `key=value` fragments in agent error payloads are redacted. MCP does not return stack traces to the client.

Not everything arrives as one of these codes. Authentication and throttling happen before a tool runs, so a
rejected token is HTTP `401` and an exhausted [rate limit](#rate-limits) is HTTP `429` — plain HTTP responses
with no tool result to inspect. A client that only reads tool payloads will see an empty response and no reason
for it. Check the status code first, the error `code` second.

## Identifiers

Same conventions as REST:

* Company `id` is a **sqid**; public URLs use company **slug**
* Event `id` is the event **slug**
* Ticket type `id` in REST is the ticket **slug**
* Attendee `id` is the order **sqid**
* `timetable_id`, `activity_id` and `speaker_id` are **sqids**; a schedule `location` is a **slug**, unique only within its own day and never regenerated when the location is renamed

See [Conventions](https://docs.animo.co/conventions.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.