Skip to content

Sanity ​

undefined

DetailValue
CategoryCMS
Base URLhttps://{project_id}.api.sanity.io/v2021-10-21
AuthenticationBearer Token
Endpoints7
Connector keysanity

Using Sanity in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Sanity from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — see the table below.

Available Endpoints ​

EndpointSummary
GET Query Documents (GROQ)
GET Mutate Documents
GET Get Document
GET Export Dataset
GET Upload Image
GET Upload File
GET List Projects

Each endpoint has its own page with parameter details, an example API Call node configuration, and the response shape.