Developer resources // GraphQL

GraphQL interface notes

Payload CMS serves GraphQL requests at /api/graphql. The endpoint accepts GraphQL operations over HTTP POST; navigating to it with a browser GET is not a supported operation.

Access boundary

Publicly readable CMS content may be available through Payload's schema, subject to collection access controls. Schema introspection, mutations, administrative content, unpublished records, and stable third-party integration support are not promised by the public website contract. Use the documented read-only search API when you need a supported public interface.

Supported public alternative

The OpenAPI document describes the stable read-only search operation and its response types.

View OpenAPI JSON