Everything *[NYC] 2026: see what we announced. →
Skip to content

Answers from the community about HTTP API

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

How to set a specific object in array by index using Sanity HTTP API?
Sanity local development causing 25k+ API request spike
Can't write to content lake without subscription on free plan?
How to exclude query attribute from Sanity HTTP API response?
Difference between API Requests and CDN Requests in Sanity
Investigating Unexplained Bandwidth Spikes on September 24th
How to securely use Sanity write token in Next.js app directory?
Generate unique slug via Sanity API - built-in functionality or custom?
htmlToBlocks JSDOM parseHtml error in Next.js 13 server-side API
Getting latest draft via HTTP API
Discussion about expiration of Sanity Auth tokens causing issues with API calls and deployment
Image edit button disappears after re-uploading until page refresh
CORS Error: No Access-Control-Allow-Origin Header in React App with Sanity
apiVersion parameter breaking existing Sanity queries
Sanity client not using CDN URL despite useCdn:true in React
useState setter not working in useEffect with async API call
Querying with GROQ in Sanity and optimizing API usage
Sanity preview API returns 404 on Vercel but works locally