HTTP API Reference

Projects API reference

Reference documentation for the projects HTTP endpoint.

The project API allows you to create and manage projects and datasets.

For role and permission management, we suggest using the newer Access API instead.

Authentication

  • All requests must be authenticated.
  • Managing projects requires the Administrator or Developer role, or equivalent.

Base API server URL

Sanity API base URL

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

Variables

  • apiVersionstringdefault: "v2021-06-07"

    API version