GET Unsubscriptions by Channel id

Get Unsubcriptions by channel id

GET https://api.feedbackly.com/v5.0.3/unsubcriptions/:channelId

This endpoint allows you to access Unsubscribed contacts objects from Feedbackly.

Query Parameters

NameTypeDescription

startDate

string

Filter by unix timestamp, starting at given value

endDate

number

Filter by unix timestamp, ending at given value

skip

String

No. of documents to skip from the start

requiredFields

Array

Fields to append to received contact object. Options: "email", "phone", "channelId" and "createdAt".

Headers

NameTypeDescription

Authorization*

string

Authentication token to access the API eg: 'Authorization': 'ey0iuefg.834xcunerun348efnsd'

{
  "data": [
    {
      "_id": "5dc57703b7c935069aef31c5",
      "name": "Feedback terminal 1",
      "teamId": "5dc57703b7c935069aef31c1",
      "activeSurveyId": "5dc57703b7c935069aef31a2",
      "activeSurveyName": "NPS Survey",
      "lastResponse": 159801789,
      "lastResponseDate": "2020-08-21T13:52:01.606Z"
    },
    {
      
      "_id": "5dc57703b7c935069aef31c6",
      "name": "Web widget home page",
      "teamId": "5dc57703b7c935069aef31c2",
      "activeSurveyId": "5dc57703b7c935069aef31a1",
      "activeSurveyName": "CES Survey",
      "lastResponse": 159801789,
      "lastResponseDate": "2020-08-21T13:52:01.606Z"
    }
  ],
  "paging": {
    "next": "https://api.feedbackly.com/v5.0.2/touchpoints?skip=200",
    "previous": "https://api.feedbackly.com/v5.0.2/touchpoints?skip=0"
  }
}

Response type description

Field name

Type

Example

Description

data

The array of Unsubscribed contact objects

paging

Pagination object

Last updated