Skip to Content

GET /api/v1/user/history/voted

Names the authenticated user has voted on, ordered by most recent vote.

Authentication: Required

Cache: None

Query Parameters

ParameterTypeDefaultDescription
pagenumber1Page number
limitnumber20Results per page (1-100)

Extra Fields

FieldTypeDescription
my_votenumber1 (upvote) or -1 (downvote)
voted_atstringWhen the vote was cast

Sample Request

curl -H "Authorization: Bearer YOUR_TOKEN" \ "https://api.grails.app/api/v1/user/history/voted?limit=10"

Response

// 200 OK { "success": true, "data": { "names": [ { // ... standard SearchResult fields (id, name, token_id, owner, etc.) "my_vote": 1, "voted_at": "2026-04-06T15:00:00.000Z" } ], "pagination": { "page": 1, "limit": 10, "total": 18, "totalPages": 2, "hasNext": true, "hasPrev": false } }, "meta": { "timestamp": "2026-04-07T12:00:00.000Z", "version": "1.0.0" } }
Last updated on