payload-rest-client
JSON →A typesafe REST API client for Payload CMS (current stable version 3.0.5, actively maintained). It provides a fully typed interface for all Payload CMS REST endpoints, including collections, globals, and custom endpoints. The client leverages TypeScript generics to enforce correct parameters, query options, and response types based on your Payload config. Key differentiators: first-class locale support, built-in auth methods (login, logout, refresh, unlock), and a type-safe custom endpoint system. Unlike generic fetch wrappers, it automatically types collection methods (find, create, update, delete) with your actual content types. Requires Payload CMS v2+.
Resources
packagepayload-rest-client ↗
API endpoints
full doc /v1/registry/payload-rest-client