Retrieve results over time for a topic and group

GET /api/v1/topics/{topic_code}/results/groups/{group_identifier}/history

Path parameters

  • topic_code string Required

    The code for a topic

  • group_identifier string Required

    The id or a code for a group

Responses

  • 200 application/json

    Results for topic and group, broken down by date

    Hide response attributes Show response attributes object
    • sample_date string

      The date when the question was asked

    • score integer | null

      The score between 0 and 100. Null if no score is available.

    • response_rate integer

      Percentage of people who responded

    • response_count integer

      Number of people who responded

    • total_count integer

      Total number of people who could respond

GET /api/v1/topics/{topic_code}/results/groups/{group_identifier}/history
curl \
 --request GET 'https://app.fridaypulse.com/api/v1/topics/{topic_code}/results/groups/{group_identifier}/history' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "score": 75,
    "sample_date": "2019-07-03",
    "total_count": 198,
    "response_rate": 58,
    "response_count": 114
  }
]