{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gorgias REST Account Views API",
    "version": "2024-01-01"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Views",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List views",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{account}.gorgias.com/api/views"
          },
          "docs": "List views"
        },
        {
          "info": {
            "name": "Create view",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{account}.gorgias.com/api/views",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create view"
        },
        {
          "info": {
            "name": "Search items in a view",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{account}.gorgias.com/api/views/:id/items",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search items in a view"
        }
      ]
    }
  ],
  "bundled": true
}