Skip to main content
GET
/
surveys
Listar Pesquisas
curl --request GET \
  --url https://api-clients.opiny.com.br/v1/surveys \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "cmjt5c5d00003jr0wngf8kjga",
      "name": "Feedback de Satisfação",
      "status": "active",
      "created_at": "2023-11-07T05:31:56Z",
      "metrics": {
        "views": 1250,
        "responses": 450,
        "sentiment_score": 85
      }
    }
  ],
  "meta": {
    "total": 123,
    "page": 123,
    "limit": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1
limit
integer
default:10
status
enum<string>
Available options:
active,
draft,
paused,
archived

Response

200 - application/json

Sucesso

data
object[]
meta
object