Salesforce Service Cloud Knowledge API

Operations for managing knowledge articles

OpenAPI Specification

salesforce-service-cloud-knowledge-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Salesforce Service Cloud Salesforce Chat REST Accounts Knowledge 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: Knowledge
  description: Operations for managing knowledge articles
paths:
  /sobjects/Knowledge__kav:
    get:
      operationId: getKnowledgeArticleInfo
      summary: Salesforce Service Cloud Get Knowledge Article metadata
      description: Retrieves metadata for knowledge articles used in the service knowledge base.
      tags:
      - Knowledge
      responses:
        '200':
          description: Knowledge article 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/