curl --request GET \
--url https://api.example.com/cabinet/polls \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"response_id": 123,
"title": "<string>",
"total_questions": 123,
"answered_questions": 123,
"is_completed": true,
"description": "<string>",
"reward_amount": 123
}
]Get list of polls available for the user.
curl --request GET \
--url https://api.example.com/cabinet/polls \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"response_id": 123,
"title": "<string>",
"total_questions": 123,
"answered_questions": 123,
"is_completed": true,
"description": "<string>",
"reward_amount": 123
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.