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

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Sucesso

id
string
Example:

"cmjt5c5d00003jr0wngf8kjga"

name
string
Example:

"Feedback de Satisfação"

status
enum<string>
Available options:
active,
draft,
paused,
archived
Example:

"active"

created_at
string<date-time>
metrics
object