Skip to main content

Query

query {
  feedbackItems(
    apiKey: String!
    skip: Int
    take: Int
    source: String
    status: String
    sentiment: String
  ): FeedbackItemList!
}

Parameters

apiKey
string
required
Your Tellscope API key
skip
integer
default:"0"
Number of items to skip for pagination
take
integer
default:"50"
Number of items to return (max 100)
source
string
Filter by feedback source. Examples: zendesk, intercom, trustpilot, g2
status
string
Filter by status. Values: unread, read, archived
sentiment
string
Filter by sentiment. Values: positive, neutral, negative

Response

items
array
Array of feedback items
total
integer
Total count of matching feedback items

Example

query {
  feedbackItems(
    apiKey: "tellscp_sk_YOUR_API_KEY"
    take: 10
    source: "zendesk"
    sentiment: "negative"
  ) {
    items {
      id
      title
      content
      author
      sentiment
      source
      createdAt
    }
    total
  }
}
curl -X POST https://api.tellscope.io/graphql \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query { feedbackItems(apiKey: \"tellscp_sk_YOUR_API_KEY\", take: 10, sentiment: \"negative\") { items { id title sentiment } total } }"
  }'