List of all questions
This endpoint retrieves all your questions.
Request
GET https://api.nicereply.com/questions
By default, list of questions is sorted by created_at.
Query Parameters
Pagination is supported.
| Parameter | Required | Default | Description | 
|---|---|---|---|
| sort_order | No | desc | Valid values is: ascordesc. | 
Example response
200 OK
{
  "data": [
    {
      "id": "f0f8b0f6-28e2-402c-9286-24db50120113",
      "type": "SCALE",
      "scale": {
        "scale": "NPS"
      },
      "question": "How likely is it that you would recommend Nicereply to a friend or colleague?",
      "label": "Nicereply",
      "label_type": "DEFAULT",
      "created_at": "2023-09-06T13:16:29+02:00",
      "updated_at": "2023-09-07T11:22:01+02:00"
    },
    {
      "id": "42e5dd53-b153-4c3b-b108-6a032b956599",
      "type": "SCALE",
      "scale": {
        "scale": "CSAT2"
      },
      "question": "How nice was my reply?",
      "label": "How nice was my reply?",
      "label_type": "CUSTOM",
      "created_at": "2023-09-02T06:28:56+02:00",
      "updated_at": "2023-09-02T13:16:13+02:00"
    }
    // ...
  ],
  "pagination": {
    "total": 30,
    "count": 10,
    "per_page": 10,
    "current_page": 1,
    "total_pages": 3,
    "links": {
      "next": "/questions?page=2",
      "prev": null
    }
  }
}