---
title: "Get Company's Attributes"
method: GET
path: "/attributes"
tags: ["Attributes"]
---

# Get Company's Attributes

`GET /attributes`

This endpoint retrieves all the attributes of a company. To filter attributes to a specific
        data table, use the table query parameter.

## Query parameters

- `table` string, required

## Headers

- `X-Company-ID` string, required

## Response `200`

- AttributeResponse
  - `id` integer, required
  - `name` string, required
  - `description` string, required
  - `table` SourceDataTable, required
    - `id` string, uuid, required
    - `name` string, required
    - `active` boolean, required
    - `settings` object, required
    - `created_at` string, date-time, required
    - `connection` Connection, required
      - `id` string, uuid, required
      - `active` boolean, required
      - `type` string, nullable, required — Return the category of the associated Integration model for backwards compatibility Returns: The integration category (See Integration.CATEGORIES)
      - `friendly_source` string, required
      - `integration` Integration, required
        - `id` integer, required
        - `source` 'METABASE' | 'QUICKBOOKS' | 'XERO' | 'NETSUITE' | 'SALESFORCE' | 'SAGE_INTACCT' | 'RILLET' | 'CAMPFIRE' | 'CHARTHOP' | 'RIPPLING' | 'GOOGLE' | 'OKTA' | 'BOOMI' | 'SAML' | 'OPEN_EXCHANGE_RATES' | 'NETSUITE_RATES' | 'MERGE', required — * `METABASE` - Metabase * `QUICKBOOKS` - QuickBooks * `XERO` - Xero * `NETSUITE` - NetSuite * `SALESFORCE` - Salesforce * `SAGE_INTACCT` - Sage Intacct * `RILLET` - Rillet * `CAMPFIRE` - Campfire * `CHARTHOP` - ChartHop * `RIPPLING` - Rippling * `GOOGLE` - Google SSO * `OKTA` - Okta (OIDC) * `BOOMI` - Boomi * `SAML` - SAML * `OPEN_EXCHANGE_RATES` - Open Exchange Rates * `NETSUITE_RATES` - NetSuite Saved Search * `MERGE` - Cube Universal Connect
        - `category` 'BI' | 'GL' | 'HRIS' | 'SSO' | 'CRM' | 'OTHER' | 'UAP', required — * `BI` - Business Intelligence * `GL` - General Ledger * `HRIS` - Human Resource Information Service * `SSO` - Single Sign On * `CRM` - Customer Relationship Management * `OTHER` - Other * `UAP` - Unified API Platform
        - `name` string, required
        - `logo_url` string, nullable, required
      - `settings` object, required
      - `metadata` object, required
    - `type` 'AD_HOC' | 'ERP_CONNECTION' | 'GENERIC' | 'EMPLOYEE_ROSTER' | 'HRIS', required — * `AD_HOC` - Ad Hoc * `ERP_CONNECTION` - ERP Connection * `GENERIC` - Generic * `EMPLOYEE_ROSTER` - Employee Roster * `HRIS` - HRIS Connection
    - `type_friendly` string, required
    - `last_import` object, required
    - `last_successful_import` object, required
    - `source_type` string, required — Returns the human-friendly category of the connection's Integration, if the table has a connection. Otherwise, returns 'Data Table'. Returns: The human-friendly source category
    - `mapping_data` object, required
    - `description` string
  - `table_id` string, uuid, required
  - `created_at` string, date-time, required

---

[API](https://skmtc.net/cubesoftware/apis/cube-api.md) · [All operations](https://skmtc.net/cubesoftware/apis/cube-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cubesoftware/cube-api/revisions/67d9f45bb99b/schema)
