HTTP API Reference

Live Content API reference

Reference documentation for the Live HTTP endpoint.

The Live Content API (LCAPI) is the underlying API that powers components like <SanityLive> and other Live by default functionality.

It allows you to subscribe to a stream of sync tags as they become invalid, which you can then match up with the tags returned by the Query API, or in queries made with the Sanity client.

Authentication

  • Authentication is not required for public data.
  • Requests that use the includeAllDocuments option require a viewer token as noted below.

Base API server URL

Sanity API base URL

https://{projectId}.api.sanity.io/{apiVersion}

Variables

  • projectIdstringdefault: "projectId"

    Project ID

  • apiVersionstringdefault: "v2025-02-19"

    API version