openapi: 3.1.0 info: title: Salesforce Experience Cloud Salesforce CMS Connect Actions Search API description: Manage content, channels, and media in Experience Cloud CMS. Supports creating, updating, and delivering managed content across channels for headless content delivery and site publishing. Part of the Salesforce Connect REST API. version: 59.0.0 contact: name: Salesforce Developer Support url: https://developer.salesforce.com/ license: name: Salesforce Master Subscription Agreement url: https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/ servers: - url: https://{instance}.salesforce.com/services/data/v59.0/connect/cms description: Salesforce Instance variables: instance: default: yourInstance description: Your Salesforce instance name or custom domain security: - oauth2: [] - bearerAuth: [] tags: - name: Search description: SOSL search execution paths: /search: get: operationId: executeSearch summary: Salesforce Experience Cloud Execute a SOSL Search description: Executes a SOSL search query and returns matching records across multiple objects. SOSL supports full-text search with wildcard and phrase matching. tags: - Search parameters: - name: q in: query required: true description: The SOSL search string to execute schema: type: string example: FIND {test} IN ALL FIELDS RETURNING Account(Id, Name) responses: '200': description: Successfully executed search content: application/json: schema: $ref: '#/components/schemas/SearchResult' '400': description: Invalid SOSL query syntax content: application/json: schema: type: array items: $ref: '#/components/schemas/ErrorResponse' '401': $ref: '#/components/responses/Unauthorized' components: schemas: SObjectRecord: type: object description: A Salesforce sObject record with field values properties: attributes: type: object properties: type: type: string description: sObject type name url: type: string format: uri description: REST API URL for this record Id: type: string description: The 18-character record ID additionalProperties: true SearchResult: type: object description: Result of a SOSL search properties: searchRecords: type: array description: Matching records from the search items: $ref: '#/components/schemas/SObjectRecord' ErrorResponse: type: object description: Standard Salesforce API error response properties: errorCode: type: string description: Salesforce error code fields: type: array items: type: string message: type: string description: Human-readable error message responses: Unauthorized: description: Unauthorized - invalid or expired OAuth token content: application/json: schema: type: array items: $ref: '#/components/schemas/ErrorResponse' securitySchemes: oauth2: type: oauth2 description: Salesforce OAuth 2.0 authentication flows: authorizationCode: authorizationUrl: https://login.salesforce.com/services/oauth2/authorize tokenUrl: https://login.salesforce.com/services/oauth2/token scopes: api: Access and manage your data content: Manage CMS content bearerAuth: type: http scheme: bearer bearerFormat: OAuth2 description: Bearer token obtained through OAuth 2.0 flow