Menu
Publish Documents
Publish documents
POST
/publish/{projectId}/{dataset}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Publish Documents action (under Scheduling).
- Fill in the fields below, then reference the result from later steps as
{{publishDocuments.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{publishDocuments.response.data.<field>}}.
{
"transactionId": "string"
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?