# Wallet messages

> Lock-screen messages on every holder's Wallet pass

Source: https://tickets.roostertail.com/docs/reference/wallet_messages

Every operation below is also in [the OpenAPI document](https://tickets.roostertail.com/v1/openapi.yaml). One that names an MCP tool can be called through [the MCP server](https://tickets.roostertail.com/docs/mcp.md); one that names none cannot.

## List an event's Wallet messages

`GET /v1/events/{id}/wallet_messages`

Operation id `listWalletMessages`. MCP tool `list_wallet_messages`. SDK `tickets.events.walletMessages`.

The Wallet messages sent for an event, newest first, with how many passes each reached.

**Who may call it.** Any one of: An API key with scope `full`, `read`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `read` (owner, admin, staff, viewer).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with evt_. |
| `limit` | query | integer | How many to return, 1 to 100 (default 20). |
| `starting_after` | query | string | An id from the page before: the page after it. |
| `ending_before` | query | string | An id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other… |

**Answers 200.** A page of messages.

**Fields**

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "list" |  |
| `data` * | array of WalletMessage | This page, newest first. |
| `has_more` * | boolean | True when there is another page: pass the last id as starting_after. |
| `url` * | string | The path this list came from (/v1/events/{id}/wallet_messages). |

\* required

## Put a message on every holder's lock screen

`POST /v1/events/{id}/wallet_messages`

Operation id `createWalletMessage`. MCP tool `create_wallet_message`. SDK `tickets.events.sendWalletMessage`.

Puts a message on every holder's Wallet pass lock screen for an event. There is a daily limit (see `GET /v1/events/{id}/wallet_reach`).

**Who may call it.** Any one of: An API key with scope `full`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `wallet.message` (owner, admin, staff).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with evt_. |

**Request body** (`CreateWalletMessageInput`)

| Field | Type | Description |
| --- | --- | --- |
| `title` | string |  |
| `body` * | string |  |

\* required

```json
{
  "body": "Doors at 4, use Gate B"
}
```

**Answers 201.** Queued to every pass.

**Fields** (`WalletMessage`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "wallet_message" |  |
| `id` * | string | An id starting with wmsg_. |
| `mode` * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
| `event` * | string | An id starting with evt_. |
| `title` * | string \| null |  |
| `body` * | string |  |
| `apple` * | object |  |
| `google` * | object |  |
| `created_by` * | Actor | Who made a change. |
| `created_at` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |

\* required

**Errors of its own.** [`wallet_message_limit`](https://tickets.roostertail.com/docs/errors.md#wallet_message_limit), [`invalid_state_transition`](https://tickets.roostertail.com/docs/errors.md#invalid_state_transition). The errors every operation can answer are on [the errors page](https://tickets.roostertail.com/docs/errors.md).

## How many passes a message would reach, and how many are left today

`GET /v1/events/{id}/wallet_reach`

Operation id `getWalletReach`. MCP tool `get_wallet_reach`. SDK `tickets.events.walletReach`.

How many passes a message would reach, and how many messages are left today.

**Who may call it.** Any one of: An API key with scope `full`, `read`. Any other scope answers `insufficient_scope`; A signed-in dashboard member whose role has `read` (owner, admin, staff, viewer).

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `id` * | path | string | An id starting with evt_. |

**Answers 200.** The passes and today's count.

**Fields** (`WalletReach`)

| Field | Type | Description |
| --- | --- | --- |
| `object` * | "wallet_reach" |  |
| `event` * | string | An id starting with evt_. |
| `passes` * | object | What a message sent now would reach ("Send to 1,212 Wallet passes?"). |
| `limit` * | integer | Messages an event may send a day (3). |
| `sent_today` * | integer |  |
| `remaining_today` * | integer | limit − sent_today: past it, POST answers wallet_message_limit. |
| `resets_at` * | string (date-time) | The next midnight in the venue's timezone (the day the limit counts). |
| `as_of` * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |

\* required
