{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gainsight CS Bulk Accounts API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "accessKey",
      "value": "{{accessKey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gainsight List accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gainsightcloud.com/v1/accounts",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of results per page"
              },
              {
                "name": "scrollId",
                "value": "",
                "type": "query",
                "description": "Scroll ID for cursor-based pagination"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort field and direction (e.g., lastSeenDate:desc)"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter expression for results"
              }
            ]
          },
          "docs": "Retrieve a paginated list of accounts in Gainsight PX."
        },
        {
          "info": {
            "name": "Gainsight Create or update an account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gainsightcloud.com/v1/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new account or update an existing account."
        },
        {
          "info": {
            "name": "Gainsight Get an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gainsightcloud.com/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique account identifier"
              }
            ]
          },
          "docs": "Retrieve a specific account by ID."
        },
        {
          "info": {
            "name": "Gainsight Update an account",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{domain}.gainsightcloud.com/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique account identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update specific attributes of an account."
        },
        {
          "info": {
            "name": "Gainsight Delete an account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{domain}.gainsightcloud.com/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "Unique account identifier"
              }
            ]
          },
          "docs": "Delete an account from Gainsight PX."
        }
      ]
    }
  ],
  "bundled": true
}