Skip to main content
GET
/
responses
Listar Respostas
curl --request GET \
  --url https://api-clients.opiny.com.br/v1/responses \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "survey_id": "<string>",
      "visitor_id": "<string>",
      "sentiment": "POSITIVE",
      "metadata": {},
      "answers": [
        {
          "questionId": "<string>",
          "value": "<string>"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

survey_id
string
start_date
string

Formato YYYY-MM-DD

end_date
string

Formato YYYY-MM-DD

page
integer
default:1

Response

200 - application/json

Sucesso

data
object[]