Retrieve results for all topics for everyone

GET /api/v1/results

Query parameters

  • date string

    Optional. The date for the results. In YYYY-MM-DD format. Defaults to latest results date.

Responses

  • 200 application/json

    Results for everyone on a particular date, broken down by topic

    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

    • topic object
      Hide topic attributes Show topic attributes object
      • code string

        Topic code

      • name string

        Topic name

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