GET
/
api
/
v2
/
organizations
/
{organizationId}
/
workspaces
curl --request GET \
  --url https://us.infisical.com/api/v2/organizations/{organizationId}/workspaces \
  --header 'Authorization: Bearer <token>'
{
  "workspaces": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "organization": "<string>",
      "environments": [
        {
          "name": "<string>",
          "slug": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

organizationId
string
required

The ID of the organization to get projects from.

Query Parameters

type
enum<string>

The type of project to filter by.

Available options:
secret-manager,
cert-manager,
kms,
ssh

Response

200
application/json
Default Response
workspaces
object[]
required