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

# API

> API reference for Vestaboard: every `vestaboard.api.*` operation with input and output types.

Every `vestaboard.api.*` operation is listed below with parameter shapes and return types from the plugin Zod schemas.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Subscriptions

### list

`subscriptions.list`

List Vestaboard subscriptions accessible with the current API key and secret

**Risk:** `read`

```ts theme={null}
await corsair.vestaboard.api.subscriptions.list({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `subscriptions` | `object[]` | Yes | — |

> [accordion] subscriptions full type
>
> ```ts theme={null}
> {
>   id: string,
>   boardId: string
> }[]
> ```

***

### postMessage

`subscriptions.postMessage`

Send text or a 6x22 character grid to a Vestaboard subscription

**Risk:** `write`

```ts theme={null}
await corsair.vestaboard.api.subscriptions.postMessage({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `subscriptionId` | `string` | Yes | — |
| `text` | `string` | No | — |
| `characters` | `number[][]` | No | — |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | Yes | — |
| `text` | `string` | Yes | — |
| `created` | `string` | Yes | — |
| `muted` | `boolean` | Yes | — |

***


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