# List Trust Center tabs (alias)

Source: https://docs.orbiqhq.com/docs/api/v1/custom-tabs/get

### GET /api/v1/custom-tabs

**List Trust Center tabs (alias)**

Same operation as `GET /api/v1/tabs`: the tab rows and linked custom tabs for the authenticated tenant, in navigation order.

**Authentication:** Bearer token (`Authorization: Bearer <token>`)

**Responses:**

- `200` - Tab rows for the authenticated tenant.
  - `tabs` (array of Tab (object), required)
    - `id` (string, required)
    - `tenant` (object, required)
    - `kind` (TabKind (enum: system | custom), required)
    - `system_tab` (object)
    - `custom_tab` (object)
      - `id` (string)
      - `tenant` (object)
      - `slug` (string)
      - `title` (string)
      - `order` (integer)
      - `enabled` (boolean): Legacy custom tab field. Navigation visibility is controlled by the linked tab row.
      - `access_level` (AccessLevel (enum: public | restricted | requires_nda | internal))
      - `content` (CustomTabContent (object))
        - `layers` (array of object)
        - `variables` (array of object)
      - `content_schema_version` (string)
      - `date_created` (string (date-time))
      - `date_updated` (string (date-time))
      - `translations` (array of CustomTabTranslation (object))
        - `id` (string)
        - `languages_code` (object)
        - `title` (string)
      - `variant_options` (VariantOptionLinks (array of object))
        - `variant_options_id` (object, required)
          - `id` (string)
    - `order` (integer, required)
    - `enabled` (boolean, required)
    - `date_created` (string (date-time))
    - `date_updated` (string (date-time))
  - `customTabs` (array of CustomTab (object), required): Linked custom tab records extracted from custom rows.
    - `id` (string)
    - `tenant` (object)
    - `slug` (string)
    - `title` (string)
    - `order` (integer)
    - `enabled` (boolean): Legacy custom tab field. Navigation visibility is controlled by the linked tab row.
    - `access_level` (AccessLevel (enum: public | restricted | requires_nda | internal))
    - `content` (CustomTabContent (object))
      - `layers` (array of object)
      - `variables` (array of object)
    - `content_schema_version` (string)
    - `date_created` (string (date-time))
    - `date_updated` (string (date-time))
    - `translations` (array of CustomTabTranslation (object))
      - `id` (string)
      - `languages_code` (object)
      - `title` (string)
    - `variant_options` (VariantOptionLinks (array of object))
      - `variant_options_id` (object, required)
        - `id` (string)
- `401` - Authentication failed or the access token is missing.
  - `error` (string, required)
  - `code` (string)
  - `message` (string)
  - `details` (string)
- `403` - The access token lacks permission to read tab rows.
  - `error` (string, required)
  - `code` (string)
  - `message` (string)
  - `details` (string)
- `404` - Tenant context was not found for the authenticated token.
  - `error` (string, required)
  - `code` (string)
  - `message` (string)
  - `details` (string)
- `500` - Directus or server failure while loading tabs.
  - `error` (string, required)
  - `code` (string)
  - `message` (string)
  - `details` (string)
- `503` - Service unavailable. A backend service could not be reached; retry the request later.
  - `error` (string, required)
  - `code` (string)
  - `message` (string)
  - `details` (string)

**Code samples:**

cURL:

```bash
curl -X GET "https://app.orbiqhq.com/api/v1/custom-tabs" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

```

JavaScript (fetch):

```javascript
const response = await fetch("https://app.orbiqhq.com/api/v1/custom-tabs", {
  headers: {
    Authorization: `Bearer ${process.env.ACCESS_TOKEN}`,
  },
});

if (!response.ok) {
  throw new Error(await response.text());
}

const payload = await response.json();
console.log(payload.tabs);

```
