Skip to main content

URL
https://test-api.bvndle.com/api/v1/laas/tickets/user
Base URL
https://test-api.bvndle.com/api/v1/laas
HTTP Method
GET
Authorization Header
Bearer ACCESS_TOKEN

Query Parameter:
nametypeDescription
userIdstringRequired
ID of the user
pagenumberOptional
takenumberOptional
searchstringOptional
sortDirectionstringOptional
either in asc or desc but mostly asc
statusstringOptional
The status of the ticket
startDatestringOptional
endDatestringOptional

cURL
curl --request GET
'https://test-api.bvndle.com/api/v1/laas/tickets/user?userId=34d48345-18ab-4ba0-b9b7-07a7bf767666' \
--header 'Content-Type: application/json' \

{
  "status": "success",
  "message": "tickets returned",
  "data": {
    "data": [
      {
        "id": "45ccb148-f163-4a5b-b659-395014bb6fb5",
        "user": {},
        "ticket": {
          "id": "36a2ed79-42fd-4ea7-b558-a4869adf726f",
          "partner": {},
          "status": "active",
          "code": "6138411414",
          "expiryDate": "2025-10-19T23:00:00.000Z",
          "createdAt": "2025-10-04T19:15:11.321Z",
          "updatedAt": "2025-10-04T19:15:11.321Z"
        },
        "isUsed": false,
        "entrySource": "ruleAward",
        "rewardId": "4d806345-f149-4bcc-9257-4b0afe045b6c",
        "createdAt": "2025-10-05T20:35:23.300Z",
        "updatedAt": "2025-10-05T20:35:23.300Z"
      }
    ],
    "count": 1,
    "currentpage": 1,
    "nextpage": null,
    "prevpage": null,
    "lastpage": 1
  }
}