younifyd
Menu

List Projects

List all projects

GET/projects

Use it in a workflow

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

Request

Query parameters

includeMembersboolean

Whether to include project members in the response.

Default true

includeFeaturesboolean

Whether to include project features in the response.

Default true

organizationIdstring

Only return projects that belong to this organization.

onlyExplicitMembershipboolean

Only return projects where you have explicit project membership.

Default false

includeOrganizationProjectsboolean

Also return projects you can read through your organization membership. Ignored when `onlyExplicitMembership` is `true`.

Default false

includeOnlyCreatedProjectsboolean

Only return projects you created.

Default false

Response

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

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

Was this page helpful?
List Projects — Sanity — Documentation