Skip to main content
GET
/
v2
/
orgs
List Organizations
curl --request GET \
  --url https://api.studio.prisme.ai/v2/orgs \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "name": "<string>",
      "slug": "<string>",
      "id": "<string>",
      "description": "<string>",
      "photo": "<string>",
      "domains": [
        "<string>"
      ],
      "branding": {
        "version": "<string>",
        "platformName": "<string>",
        "description": "<string>",
        "logo": {
          "light": "<string>",
          "dark": "<string>"
        },
        "favicon": "<string>",
        "colors": {
          "primary": "<string>",
          "secondary": "<string>",
          "accent": "<string>"
        },
        "fonts": {
          "heading": "<string>",
          "body": "<string>"
        },
        "customCssUrl": "<string>",
        "customCssInline": "<string>"
      },
      "navigation": {
        "version": 123,
        "homePage": "<string>",
        "menu": [
          {
            "id": "workspaces",
            "type": "category",
            "label": "Workspaces",
            "icon": "folder",
            "expanded": true,
            "items": [
              {
                "id": "workspaces-list",
                "type": "item",
                "label": "All workspaces",
                "href": "/workspaces"
              },
              {
                "id": "workspaces-create",
                "type": "item",
                "label": "Create workspace",
                "href": "/workspaces/new"
              }
            ]
          }
        ],
        "footer": [
          {
            "id": "workspaces",
            "type": "category",
            "label": "Workspaces",
            "icon": "folder",
            "expanded": true,
            "items": [
              {
                "id": "workspaces-list",
                "type": "item",
                "label": "All workspaces",
                "href": "/workspaces"
              },
              {
                "id": "workspaces-create",
                "type": "item",
                "label": "Create workspace",
                "href": "/workspaces/new"
              }
            ]
          }
        ],
        "quickActions": [
          {
            "id": "workspaces",
            "type": "category",
            "label": "Workspaces",
            "icon": "folder",
            "expanded": true,
            "items": [
              {
                "id": "workspaces-list",
                "type": "item",
                "label": "All workspaces",
                "href": "/workspaces"
              },
              {
                "id": "workspaces-create",
                "type": "item",
                "label": "Create workspace",
                "href": "/workspaces/new"
              }
            ]
          }
        ]
      },
      "joinRules": [
        {
          "rules": [
            {
              "field": "<string>",
              "value": "<string>"
            }
          ],
          "role": "<string>",
          "groups": [
            "<string>"
          ]
        }
      ],
      "defaultRole": "<string>",
      "auth": {
        "anonymous": {
          "enabled": true,
          "role": "<string>",
          "allowedDomains": [
            {
              "domain": "<string>",
              "role": "<string>"
            }
          ]
        }
      },
      "settings": {},
      "subscriptionSlug": "<string>",
      "createdBy": "<string>",
      "updatedBy": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
number
page
number

Search organizations by name

status
enum<string>

Filter organizations by status

Available options:
active,
suspended
sort
string

Sort field and direction, e.g. -createdAt

Response

Success

results
object[]
total
number