younifyd
Menu

Get Requests

List all requests for given project/organization.

GET/v2024-07-01/access/{resourceType}/{resourceId}/requests

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the Get Requests action (under Access).
  3. Fill in the fields below, then reference the result from later steps as {{getRequests.response.data}}.

Request

Path parameters

resourceTypestringrequired

The resource type to scope the access requests to.

One oforganizationprojectmedia-librarycanvasdashboardviewknowledge-base

resourceIdstringrequired

The resource ID to scope the access request to. Must be a valid ID for the resource type.

Query parameters

includeChildrenboolean

Whether to include children resources in the response. Only applies to `organization` resources.

Response

Returns 200 with a array<object>. Read it in later steps with {{getRequests.response.data.<field>}}.

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

Was this page helpful?
Get Requests — Sanity — Documentation