openapi: 3.1.0 info: title: Salesforce Service Cloud Salesforce Chat REST Accounts API description: REST API for managing live chat sessions between agents and visitors in Salesforce Service Cloud. Enables initiating chat sessions, sending and receiving messages, and monitoring chat activity. version: '59.0' contact: name: Salesforce Developer Support url: https://developer.salesforce.com/support termsOfService: https://www.salesforce.com/company/legal/agreements/ servers: - url: https://{hostname}/chat/rest description: Chat REST API Endpoint variables: hostname: default: d.la1-c1-ia4.salesforceliveagent.com description: Your Live Agent endpoint hostname security: - apiKey: [] tags: - name: Accounts description: Operations for managing account records paths: /sobjects/Account: get: operationId: getAccountInfo summary: Salesforce Service Cloud Get Account object metadata description: Retrieves basic metadata and recently created accounts for the Account sObject type. tags: - Accounts responses: '200': description: Account object metadata content: application/json: schema: $ref: '#/components/schemas/SObjectBasicInfo' components: schemas: SObjectBasicInfo: type: object properties: objectDescribe: type: object description: Object metadata recentItems: type: array items: type: object description: Recently created or updated records securitySchemes: apiKey: type: apiKey in: header name: X-LIVEAGENT-API-VERSION description: Live Agent API version header externalDocs: description: Chat REST API Developer Guide url: https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest.meta/live_agent_rest/