Menu
Upload Image Asset
Upload an image asset
POST
/images/{dataset}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Upload Image Asset action (under Assets).
- Fill in the fields below, then reference the result from later steps as
{{uploadImageAsset.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{uploadImageAsset.response.data.<field>}}.
{
"document": {}
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?