{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Experience Cloud Salesforce REST API",
    "version": "59.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize",
      "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Versions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud List Available API Versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/services/data"
          },
          "docs": "Returns a list of all available REST API versions, including the version number, label, and a link to each version's root resource. This endpoint does not require authentication."
        }
      ]
    },
    {
      "info": {
        "name": "Resources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud List Available Resources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/"
          },
          "docs": "Returns a list of resources available for the specified API version, providing the name and URI of each resource. Useful for discovering available endpoints."
        }
      ]
    },
    {
      "info": {
        "name": "Describe",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Describe Global",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects",
            "headers": [
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ]
          },
          "docs": "Returns a list of all sObjects available in the org, including metadata about each object such as label, name, key prefix, and available operations (createable, queryable, etc.)."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Describe an sObject",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects/:sObjectName/describe",
            "headers": [
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              }
            ]
          },
          "docs": "Returns complete metadata about the specified sObject, including all fields, record types, child relationships, URLs, and supported operations. Includes field-level details such as type, length, picklist values, and relationship information."
        }
      ]
    },
    {
      "info": {
        "name": "sObjects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get sObject Basic Information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects/:sObjectName",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              }
            ]
          },
          "docs": "Returns metadata about the specified sObject, including the object describe result and recently accessed records of that type."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Create an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects/:sObjectName",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new record for the specified sObject type. The request body must contain the field values for the new record."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects/:sObjectName/:recordId",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The 15 or 18 character Salesforce record ID"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of field names to return"
              }
            ]
          },
          "docs": "Returns the field values for the specified record. Use the fields parameter to specify which fields to return. If no fields are specified, all accessible fields are returned."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Update an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects/:sObjectName/:recordId",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The 15 or 18 character Salesforce record ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the specified record with the provided field values. Only fields included in the request body are updated."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Delete an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/sobjects/:sObjectName/:recordId",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The 15 or 18 character Salesforce record ID"
              }
            ]
          },
          "docs": "Deletes the specified record. The record is moved to the Recycle Bin unless permanently deleted."
        }
      ]
    },
    {
      "info": {
        "name": "Query",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Execute a SOQL Query",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/query",
            "params": [
              {
                "name": "q",
                "value": "SELECT Id, Name FROM Account LIMIT 10",
                "type": "query",
                "description": "The SOQL query string to execute"
              }
            ]
          },
          "docs": "Executes a SOQL query and returns the matching records. Supports standard SOQL syntax including SELECT, FROM, WHERE, ORDER BY, LIMIT, and OFFSET clauses. Returns paginated results with a nextRecordsUrl for large result sets."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Execute a SOQL Query Including Deleted Records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/queryAll",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "The SOQL query string to execute"
              }
            ]
          },
          "docs": "Executes a SOQL query and returns matching records including deleted and archived records. Otherwise behaves identically to the standard query endpoint."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Next Page of Query Results",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/query/:queryLocator",
            "params": [
              {
                "name": "queryLocator",
                "value": "",
                "type": "path",
                "description": "Query locator from the previous query result"
              }
            ]
          },
          "docs": "Retrieves the next page of results for a previously executed SOQL query using the query locator from the nextRecordsUrl."
        }
      ]
    },
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Execute a SOSL Search",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/search",
            "params": [
              {
                "name": "q",
                "value": "FIND {test} IN ALL FIELDS RETURNING Account(Id, Name)",
                "type": "query",
                "description": "The SOSL search string to execute"
              }
            ]
          },
          "docs": "Executes a SOSL search query and returns matching records across multiple objects. SOSL supports full-text search with wildcard and phrase matching."
        }
      ]
    },
    {
      "info": {
        "name": "Limits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get Org Limits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/limits"
          },
          "docs": "Returns the current API usage limits for the org, including daily API request limits, data storage, file storage, and other governor limits. Useful for monitoring API consumption."
        }
      ]
    }
  ],
  "bundled": true
}