younifyd
Menu

List Organization Grants

Get all grants for current user

GET/organizations/{organizationId}/grants

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the List Organization Grants action (under Roles).
  3. Fill in the fields below, then reference the result from later steps as {{listOrganizationGrants.response.data}}.

Request

Path parameters

organizationIdstringrequired

The ID of the organization

Response

Returns 200 with an object. Read it in later steps with {{listOrganizationGrants.response.data.<field>}}.

Need more? See the Sanity guide for connection setup and behaviour shared by every action.