{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chatwoot Account AgentBots Custom Filters API",
    "version": "1.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Custom Filters",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all custom filters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/custom_filters",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the account"
              },
              {
                "name": "filter_type",
                "value": "",
                "type": "query",
                "description": "The type of custom filter"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "api_access_token",
              "value": "{{api_access_token}}",
              "placement": "header"
            }
          },
          "docs": "List all custom filters in a category of a user"
        },
        {
          "info": {
            "name": "Create a custom filter",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/custom_filters",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the account"
              },
              {
                "name": "filter_type",
                "value": "",
                "type": "query",
                "description": "The type of custom filter"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "api_access_token",
              "value": "{{api_access_token}}",
              "placement": "header"
            }
          },
          "docs": "Create a custom filter in the account"
        },
        {
          "info": {
            "name": "Get a custom filter details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the account"
              },
              {
                "name": "custom_filter_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the custom filter"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "api_access_token",
              "value": "{{api_access_token}}",
              "placement": "header"
            }
          },
          "docs": "Get the details of a custom filter in the account"
        },
        {
          "info": {
            "name": "Update a custom filter",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the account"
              },
              {
                "name": "custom_filter_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the custom filter"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "api_access_token",
              "value": "{{api_access_token}}",
              "placement": "header"
            }
          },
          "docs": "Update a custom filter's attributes"
        },
        {
          "info": {
            "name": "Delete a custom filter",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.chatwoot.com/api/v1/accounts/:account_id/custom_filters/:custom_filter_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the account"
              },
              {
                "name": "custom_filter_id",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the custom filter"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "api_access_token",
              "value": "{{api_access_token}}",
              "placement": "header"
            }
          },
          "docs": "Delete a custom filter from the account"
        }
      ]
    }
  ],
  "bundled": true
}