PartyKit Party.Server (Server API)

Library API for defining server-side logic for a "party" - a backend object backed by a Cloudflare Durable Object. Provides lifecycle hooks for connections, messages, requests, alarms, and state persistence.

PartyKit Party.Server (Server API) is one of 4 APIs that PartyKit publishes on the APIs.io network.

Tagged areas include Server API, Durable Objects, WebSockets, and Hooks. The published artifact set on APIs.io includes API documentation and SDKs.

API entry from apis.yml

apis.yml Raw ↑
aid: partykit:party-server
name: PartyKit Party.Server (Server API)
description: Library API for defining server-side logic for a "party" - a backend object backed by a Cloudflare
  Durable Object. Provides lifecycle hooks for connections, messages, requests, alarms, and state persistence.
humanURL: https://docs.partykit.io/reference/partyserver-api/
baseURL: https://docs.partykit.io/reference/partyserver-api/
tags:
- Server API
- Durable Objects
- WebSockets
- Hooks
properties:
- type: Documentation
  url: https://docs.partykit.io/reference/partyserver-api/
- type: SDK
  url: https://www.npmjs.com/package/partykit
- type: SDK
  url: https://www.npmjs.com/package/partyserver