# PartyKit Party.Server (Server API)

**Canonical:** https://apis.io/apis/partykit/party-server/  
**Provider:** PartyKit — https://apis.io/providers/partykit/  
**Base URL:** https://docs.partykit.io/reference/partyserver-api/  
**Documentation:** https://docs.partykit.io/reference/partyserver-api/

PartyKit Party.Server (Server API) is one of 4 APIs that [PartyKit](https://apis.io/providers/partykit/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Server API, Durable Objects, WebSockets, and Hooks. The published artifact set on APIs.io includes API documentation.

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.

## Machine-readable artifacts (4)

- **Documentation** — https://docs.partykit.io/reference/partyserver-api/
- **SDKs** — https://www.npmjs.com/package/partykit
- **SDKs** — https://www.npmjs.com/package/partyserver
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/partykit/refs/heads/main/apis.yml

## Other PartyKit APIs (3)

- [PartyKit PartySocket (Client API)](https://apis.io/apis/partykit/partysocket/)
- [Y-PartyKit (Yjs Integration)](https://apis.io/apis/partykit/y-partykit/)
- [PartyKit Deployed Party (HTTP / WebSocket)](https://apis.io/apis/partykit/deployed-party-http/)

## Tags

Server API, Durable Objects, WebSockets, Hooks

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/partykit/party-server/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/partykit/.
