Answers from the community about HTTP API

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

TopicCategoriesFeaturedRepliesLast Updated
Clarification on using the mutate API to draft posts in Sanity.io7May 28, 2020
Discussion about resolving an error when accessing the Sanity API25Jun 3, 2020
Issue with uploading multi-line Markdown files to Sanity using the API13Aug 8, 2020
Lambda function completes tasks and requests but fails to return to calling function11Jun 10, 2020
Pre-populating post titles with a news headlines API in Sanity20May 19, 2020
Updating object properties in an array on a document with the Sanity client10Mar 17, 2021
Different results when creating a post in Studio vs. using the HTTP API15Feb 27, 2021
Discussion about creating and rendering documents in Sanity Studio using the HTTP API and `S.documentList()`.107Apr 21, 2021
Best way to copy an array from one product to another using Sanity.io API.6Jun 25, 2021
Limiting array fields and hiding the "Add Item" button in Sanity.io8Apr 26, 2021
Understanding how to trigger Gatsby builds with Sanity Studio updates25Nov 30, 2020
Troubleshooting NextJS live preview feature with API route errors and missing response31Oct 4, 2021
Creating datasets with public and private documents and accessing them in the CMS.10Sep 6, 2020
Discussion about error connecting to Sanity API and potential solutions23Jun 3, 2020
Discussion about issues with deploying GraphQL API and upgrading to latest version19Nov 16, 2021
Understanding how to add and modify fields in Sanity documents32Feb 25, 2022
How to add UnpublishAction in Sanity studio document actions8Feb 17, 2022
Best practices for backing up and restoring datasets in Sanity.io7Apr 29, 2021