planetscale · AsyncAPI Specification
PlanetScale Webhook Events
Version 1.0.0
PlanetScale webhooks deliver HTTP POST callbacks to a configured URL when specific events occur within a PlanetScale organization. Webhooks enable real-time notifications for database branch lifecycle events, deploy request state changes, anomaly detection, and maintenance windows. Each database can have up to 5 webhooks configured, and all payloads are signed with an HMAC SHA-256 signature for verification.
Channels
/webhook
Receive PlanetScale webhook events
PlanetScale sends HTTP POST requests to your configured webhook URL when subscribed events occur. All requests include an X-PlanetScale-Signature header for payload verification.
Messages
BranchReady
Branch Ready
Triggered when a database branch has been created and is ready to accept connections.
BranchSleeping
Branch Sleeping
Triggered when a database branch transitions to a sleeping state due to inactivity.
BranchAnomaly
Branch Anomaly
Triggered when a branch has a new anomaly event detected by PlanetScale Insights, such as unusual query performance or resource usage.
BranchStartMaintenance
Branch Start Maintenance
Triggered right before maintenance for a production branch is about to start, providing advance notice for preparation.
BranchOutOfMemory
Branch Out of Memory
Triggered when a Postgres database branch experiences an out of memory event and has to restart. Only applies to Postgres databases.
DeployRequestOpened
Deploy Request Opened
Triggered when a new deploy request has been opened for a database.
DeployRequestQueued
Deploy Request Queued
Triggered when a deploy request has been queued for deployment.
DeployRequestInProgress
Deploy Request In Progress
Triggered when a deploy request deployment is actively in progress.
DeployRequestSchemaApplied
Deploy Request Schema Applied
Triggered when a deploy request has successfully applied schema changes to the target branch.
DeployRequestErrored
Deploy Request Errored
Triggered when a deploy request deployment has encountered an error.
DeployRequestReverted
Deploy Request Reverted
Triggered when a deployed schema change has been reverted to the previous state.
DeployRequestClosed
Deploy Request Closed
Triggered when a deploy request has been closed without deploying.
WebhookTest
Webhook Test
Triggered when a webhook is tested from the PlanetScale dashboard to verify the endpoint is receiving events correctly.
Servers
https
planetscale
{webhookUrl}
Your HTTPS endpoint that receives PlanetScale webhook POST callbacks. Must respond with a 2xx status code.
AsyncAPI Specification
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for asyncapi
4 MCP tools reach this
find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/planetscale-webhooks-asyncapi"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.