cURL
curl --request GET \ --url https://app.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>" } ] } ] }
Return projects in organization that user is part of
An access token in Infisical
The ID of the organization to get projects from.
Default Response
The response is of type object.
object
Was this page helpful?