Collections

Collection Object

Collections are represented as JSON object with the following properties

Config Object

Config Object

Config is represented as JSON object with the following properties

Emoji Config Object

Emoji Config is represented as JSON objects with the following properties

Ticketing Config Object

Ticket Config is represented as JSON object with the following properties

CSAT Config Object

CSAT Config is represented as JSON object with the following properties

Get Collections

GET https://api.clearfeed.app/v1/rest/collections

Get all collections in your account

{
  "collections": [
    {
      "id": 1,
      "name": "premeium customers",
      "created_by": "U05HGPBRZJN",
      "created_at": "2023-01-01T00:00:00.000Z",
      "updated_at": "2023-01-01T00:00:00.000Z",
      "config": {
        "story_detection": false,
        "force_story_request": true,
        "auto_assign": {
          "enabled": false
        },
        "responders": [
          {
            "responder_type": "users",
            "value": [
              "U038DHU0J6A"
            ]
          }
        ]
      },
      "emoji_config": {
        "emoji_names": {
          "eyes": {
            "action": "assign",
            "enabled": true,
            "action_config": {
              "apply_on_request_channel": true
            }
          },
          "white_check_mark": {
            "action": "solved",
            "enabled": true,
            "action_config": {
              "apply_on_request_channel": true
            }
          }
        }
      },
      "csat_config": {
        "enabled": true,
        "trigger_rules": [],
        "trigger_type": "automatic",
        "survey_config": {
          "survey_type": "five_point_rating"
        }
      },
      "ticketing_config": {
        "enabled": true,
        "integration": "zendesk",
        "method": {
          "emoji": "ticket",
          "type": "emoji"
        }
      }
    }
  ]
}

Add Channels to a Collection

Channels Object

Example

{
 "id" : "C01AB2CD1T", 
 "owner": "U038DHU0J6A" 
}

POST https://api.clearfeed.app/v1/rest/collections/:id/channels

Add and start monitoring channels by adding them to a collection

Request Body

Last updated