| name | miro-webhooks-events |
| description | Implement Miro REST API v2 webhooks with board subscriptions, event handling,
and signature verification for real-time board change notifications.
Trigger with phrases like "miro webhook", "miro events",
"miro board subscription", "miro real-time", "miro notifications".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*) |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","miro","webhooks","events"] |
| compatibility | Designed for Claude Code |
Miro Webhooks & Events
Overview
Receive real-time notifications when items on a Miro board change. Miro uses board subscriptions via the /v2-experimental/webhooks/board_subscriptions endpoint. All board item types are supported except tags, connectors, and comments.
Prerequisites
- Access token with
boards:read scope
- HTTPS endpoint accessible from the internet
- Webhook signing secret (generated when creating subscription)
Create a Board Subscription
async function createBoardSubscription(boardId: string, callbackUrl: string) {
const response = await fetch(
'https://api.miro.com/v2-experimental/webhooks/board_subscriptions',
{
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.MIRO_ACCESS_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
boardId,
callbackUrl,
status: 'enabled',
}),
}
);
const subscription = await response.json();
console.log(`Subscription created: ${subscription.id}`);
console.();
subscription;
}