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

# Get a CRM object

> Gets one CRM object as the Pulse detail page shows it: the list fields, plus the playbook score, the members on its linked calls, its associated records and how much activity backs it. A call's `crm_objects[]` entry (`type`, `id`) points here. An object the CRM does not know answers 404. Read live from the CRM. Counts against the lower CRM rate limit (20 requests a minute per API key, 40 per company). Only API keys with access to all workspaces can read CRM records, and the company needs Pulse turned on. Requires `crm.read`.



## OpenAPI

````yaml /public-v2.json get /crm-objects/{type}/{crmObjectId}
openapi: 3.0.3
info:
  title: Triple Session Public API
  version: 2.0.0
  license:
    name: Proprietary
    url: https://triplesession.com/terms-of-service
  description: |
    Public API v2 exposes Triple Session data through stable REST endpoints.
    Requests are authenticated with a public API key sent as a bearer token.
    The API key determines the maximum accessible resource scope.

    Every successful response wraps its result in `data`. Lists add a
    `pagination` object with `page`, `limit`, `total_count` and `total_pages`.
    Errors are `{ "error": { "message": "..." } }`.
    A value that does not exist is `null`, never an empty string.
    Calls marked private are never returned: they are left out of lists and
    answer 404 on detail endpoints.

    Rate limits: each API key may make 120 requests per minute and 3,600 per
    hour. All keys of a company together may make 300 per minute and 9,000 per
    hour. A request over either limit gets a 429 with `Retry-After`.

    Successful responses and 429 responses carry rate-limit headers. Other
    errors (401, 403, 400, 404, 500) may not. `X-RateLimit-Limit`,
    `X-RateLimit-Remaining`, `X-RateLimit-Reset` and
    `X-RateLimit-Active-Window` describe one window: on a successful response,
    the window with the fewest requests remaining; on a 429, the exhausted
    window with the longest wait. Each window also has its own set:
    `X-RateLimit-Minute-*`, `X-RateLimit-Hour-*`,
    `X-RateLimit-Company-Minute-*` and `X-RateLimit-Company-Hour-*`.
servers:
  - url: https://app.triplesession.com/api/public/v2
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Calls
    description: Call report data and artifacts.
  - name: Scorecards
    description: Scorecards and their rubrics.
  - name: Workspaces
    description: The company's workspaces and their members.
  - name: Users
    description: The company's people, with their company role and status.
  - name: Roleplays
    description: Roleplay sessions and the personas members practise with.
  - name: CRM
    description: >-
      The company's CRM objects (deals, companies, contacts, leads), as Pulse
      shows them.
paths:
  /crm-objects/{type}/{crmObjectId}:
    get:
      tags:
        - CRM
      summary: Get a CRM object
      description: >-
        Gets one CRM object as the Pulse detail page shows it: the list fields,
        plus the playbook score, the members on its linked calls, its associated
        records and how much activity backs it. A call's `crm_objects[]` entry
        (`type`, `id`) points here. An object the CRM does not know answers 404.
        Read live from the CRM. Counts against the lower CRM rate limit (20
        requests a minute per API key, 40 per company). Only API keys with
        access to all workspaces can read CRM records, and the company needs
        Pulse turned on. Requires `crm.read`.
      operationId: getCrmObject
      parameters:
        - $ref: '#/components/parameters/CrmObjectTypePath'
        - $ref: '#/components/parameters/CrmObjectId'
      responses:
        '200':
          description: The CRM object.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            X-RateLimit-Active-Window:
              $ref: '#/components/headers/XRateLimitActiveWindow'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmObjectResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          $ref: '#/components/responses/CrmUnavailable'
components:
  parameters:
    CrmObjectTypePath:
      name: type
      in: path
      required: true
      description: The object type.
      schema:
        type: string
        enum:
          - deal
          - company
          - contact
          - lead
    CrmObjectId:
      name: crmObjectId
      in: path
      required: true
      description: >-
        The object's id in the CRM, as `GET /crm-objects` and a call's
        `crm_objects[]` return it.
      schema:
        type: string
  headers:
    XRateLimitLimit:
      description: Limit for the active rate limit window.
      schema:
        type: integer
    XRateLimitRemaining:
      description: Requests remaining in the active rate limit window.
      schema:
        type: integer
    XRateLimitReset:
      description: Unix timestamp when the active rate limit window resets.
      schema:
        type: integer
    XRateLimitActiveWindow:
      description: >-
        The window the main headers describe. On a successful response, the one
        with the fewest requests remaining; on a 429, the exhausted one with the
        longest wait. The `company-` windows count every key of the company.
      schema:
        type: string
        enum:
          - minute
          - hour
          - company-minute
          - company-hour
    RetryAfter:
      description: Seconds until the request may be retried.
      schema:
        type: integer
  schemas:
    CrmObjectResponse:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/CrmObjectDetail'
      additionalProperties: false
    CrmObjectDetail:
      type: object
      required:
        - id
        - type
        - name
        - url
        - owner_user_id
        - linked_call_count
        - last_activity_at
        - next_meeting_at
        - summary
        - summary_updated_at
        - risks
        - meters
        - stage_id
        - stage
        - pipeline_id
        - pipeline
        - amount
        - currency
        - close_date
        - is_closed
        - domain
        - email
        - phone
        - created_at
        - playbook
        - team
        - associations
        - evidence
      properties:
        id:
          description: The object's id in the CRM.
          type: string
        type:
          type: string
          enum:
            - deal
            - company
            - contact
            - lead
        name:
          type: string
        url:
          description: The object in the CRM.
          type: string
          nullable: true
        owner_user_id:
          description: >-
            The CRM owner, when they are a member of the company. The same id as
            `GET /users/{userId}`.
          type: string
          format: uuid
          nullable: true
        linked_call_count:
          description: >-
            Company-visible calls linked to the object. 0 for an object found by
            a CRM search with no reviewed calls.
          type: integer
        last_activity_at:
          description: The latest activity Triple Session knows of.
          type: string
          format: date-time
          nullable: true
        next_meeting_at:
          description: The next meeting on the object in the CRM. Deals and companies only.
          type: string
          format: date-time
          nullable: true
        summary:
          description: The stored AI summary, one paragraph. Null until one is generated.
          type: string
          nullable: true
        summary_updated_at:
          description: When the summary was last generated.
          type: string
          format: date-time
          nullable: true
        risks:
          description: The stored AI risks, one line each.
          type: array
          items:
            type: string
        meters:
          description: The object's meter states.
          type: array
          items:
            $ref: '#/components/schemas/CrmObjectMeter'
        stage_id:
          description: Deal stage, or HubSpot company lifecycle stage.
          type: string
          nullable: true
        stage:
          description: The stage's label.
          type: string
          nullable: true
        pipeline_id:
          description: Deals only.
          type: string
          nullable: true
        pipeline:
          description: The pipeline's label. Deals only.
          type: string
          nullable: true
        amount:
          description: Deals only.
          type: number
          nullable: true
        currency:
          description: ISO 4217 code. Deals only.
          type: string
          nullable: true
        close_date:
          description: The deal's close date in the CRM.
          type: string
          nullable: true
        is_closed:
          description: Whether the deal is won or lost. Null for other types.
          type: boolean
          nullable: true
        domain:
          description: Companies only.
          type: string
          nullable: true
        email:
          description: Contacts and leads only.
          type: string
          nullable: true
        phone:
          description: Contacts and leads only.
          type: string
          nullable: true
        created_at:
          description: >-
            When the deal was created in the CRM. Deals only; null for other
            types.
          type: string
          nullable: true
        playbook:
          description: The average score of the object's scored, company-visible calls.
          type: object
          required:
            - average_score
            - scored_call_count
          properties:
            average_score:
              type: number
              nullable: true
            scored_call_count:
              type: integer
          additionalProperties: false
        team:
          description: >-
            Members on the object's linked calls. The CRM owner is
            `owner_user_id`.
          type: array
          items:
            type: object
            required:
              - user_id
              - name
            properties:
              user_id:
                type: string
                format: uuid
              name:
                type: string
                nullable: true
            additionalProperties: false
        associations:
          description: >-
            The records the CRM associates with this one, readable at
            `/crm-objects/{type}/{id}`.
          type: array
          items:
            type: object
            required:
              - type
              - id
              - name
            properties:
              type:
                type: string
                enum:
                  - deal
                  - company
                  - contact
                  - lead
              id:
                type: string
              name:
                type: string
            additionalProperties: false
        evidence:
          description: Meetings and emails on the object in the last 90 days.
          type: object
          required:
            - meetings
            - emails
          properties:
            meetings:
              type: integer
            emails:
              type: integer
          additionalProperties: false
      additionalProperties: false
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
          properties:
            message:
              type: string
      additionalProperties: false
    CrmObjectMeter:
      type: object
      required:
        - meter_id
        - state_id
        - state
        - source
      properties:
        meter_id:
          type: string
        state_id:
          type: string
          nullable: true
        state:
          description: The state's label.
          type: string
          nullable: true
        source:
          description: >-
            `ai` when set by AI, `manual` when a person set it, `none` when
            there is no state.
          type: string
          enum:
            - ai
            - manual
            - none
      additionalProperties: false
  responses:
    BadRequest:
      description: >-
        Invalid or unknown path or query parameter. Unknown query parameters are
        rejected, so a misspelt filter never returns unfiltered data.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing, unknown, expired or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: >-
        The API key is valid but lacks the required scope, or the workspace is
        outside the key's access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The resource does not exist or the API key cannot see it.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: >-
        Rate limit exceeded, for this API key or for the company as a whole. The
        message says which.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-RateLimit-Limit:
          $ref: '#/components/headers/XRateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/XRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/XRateLimitReset'
        X-RateLimit-Active-Window:
          $ref: '#/components/headers/XRateLimitActiveWindow'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    CrmUnavailable:
      description: >-
        The company's CRM is not connected, or it could not be reached. The
        message names the CRM and says whether to reconnect it or retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: Use a public API key with the endpoint's required scope.

````

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