> ## 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.

# Re-read a record from the CRM (Salesforce, HubSpot, Gainsight)

> Re-reads one account, opportunity or contact from every connected CRM, as Refresh from CRM on its page does: only that record is written, a contact or opportunity through its account's CRM record. The values land shortly after (QUEUED), not in this answer: read the record again in a minute. A record may be re-read once a minute: sooner is a 429 with Retry-After. A record that does not exist, or has no account, is a 404. An opportunity id that is not a number is a 422 (`007` is opportunity 7).



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/integrations/crm/records/{entity_type}/{record_id}/refresh
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/crm/records/{entity_type}/{record_id}/refresh:
    post:
      tags:
        - integrations
      summary: Re-read a record from the CRM (Salesforce, HubSpot, Gainsight)
      description: >-
        Re-reads one account, opportunity or contact from every connected CRM,
        as Refresh from CRM on its page does: only that record is written, a
        contact or opportunity through its account's CRM record. The values land
        shortly after (QUEUED), not in this answer: read the record again in a
        minute. A record may be re-read once a minute: sooner is a 429 with
        Retry-After. A record that does not exist, or has no account, is a 404.
        An opportunity id that is not a number is a 422 (`007` is opportunity
        7).
      operationId: integrations_crm_refresh
      parameters:
        - description: account, opportunity or contact
          in: path
          name: entity_type
          required: true
          schema:
            enum:
              - account
              - opportunity
              - contact
            type: string
        - description: >-
            The record's id: an account's or opportunity's id; for contact, the
            person's id
          in: path
          name: record_id
          required: true
          schema:
            pattern: ^[^/\x00-\x1f]{1,128}$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmRefresh'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    CrmRefresh:
      properties:
        account_id:
          description: 'The account re-read: the record''s own, or its account''s'
          title: Account Id
          type: string
        results:
          description: One per connected CRM
          items:
            $ref: '#/components/schemas/CrmRefreshResult'
          title: Results
          type: array
      required:
        - account_id
        - results
      title: CrmRefresh
      type: object
    CrmRefreshResult:
      properties:
        crm:
          description: salesforce, hubspot or gainsight
          title: Crm
          type: string
        status:
          anyOf:
            - enum:
                - QUEUED
                - NOT_FOUND
                - FAILED
              type: string
            - type: string
          description: >-
            QUEUED: the CRM's values are read and land shortly; NOT_FOUND: this
            CRM holds no such record (or no CRM sync brought it in); FAILED: the
            read failed
          title: Status
      required:
        - crm
        - status
      title: CrmRefreshResult
      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.