> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List a CRM's objects (Salesforce, HubSpot, Gainsight)

> The objects of the connected CRM, for the settings that name one (custom objects, aggregations). Served for salesforce, salesforce_native and gainsight; hubspot is a 404 (it has no object list: use its fields). Calls Salesforce. A preview that Salesforce refuses or cannot answer, for any reason (an expired session or a used-up API limit included), answers is_valid false with a fixed message: Salesforce's reason is not passed on. The object list is a 502 when Salesforce does not answer, and the fields of an object it does not describe are a 404. A 500 on an unexpected failure.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/{key}/objects
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/{key}/objects:
    get:
      tags:
        - integrations
      summary: List a CRM's objects (Salesforce, HubSpot, Gainsight)
      description: >-
        The objects of the connected CRM, for the settings that name one (custom
        objects, aggregations). Served for salesforce, salesforce_native and
        gainsight; hubspot is a 404 (it has no object list: use its fields).
        Calls Salesforce. A preview that Salesforce refuses or cannot answer,
        for any reason (an expired session or a used-up API limit included),
        answers is_valid false with a fixed message: Salesforce's reason is not
        passed on. The object list is a 502 when Salesforce does not answer, and
        the fields of an object it does not describe are a 404. A 500 on an
        unexpected failure.
      operationId: integrations_list_objects
      parameters:
        - description: The integration key, such as snowflake or salesforce
          in: path
          name: key
          required: true
          schema:
            type: string
        - description: 'Salesforce: leave out objects that cannot be queried'
          in: query
          name: queryable_only
          required: false
          schema:
            default: true
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmObjects'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    CrmObjects:
      description: The objects of a CRM, sorted by label.
      properties:
        integration_key:
          title: Integration Key
          type: string
        objects:
          items:
            $ref: '#/components/schemas/ObjectInfo'
          title: Objects
          type: array
      required:
        - integration_key
        - objects
      title: CrmObjects
      type: object
    ObjectInfo:
      description: Summary information about a CRM object (sObject).
      properties:
        custom:
          default: false
          title: Custom
          type: boolean
        label:
          title: Label
          type: string
        name:
          title: Name
          type: string
      required:
        - name
        - label
      title: ObjectInfo
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.