Menu
Create Project Grant
Create a grant
POST
/projects/{projectId}/grantsUse it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Create Project Grant action (under Roles).
- Fill in the fields below, then reference the result from later steps as
{{createProjectGrant.response.data}}.
Request
Path parameters
Response
Returns 200 with a oneOf. Read it in later steps with {{createProjectGrant.response.data.<field>}}.
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?