Skip to main content

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

Query Parameter:
nametypeDescription
pagenumberRequired
Number of pages
takenumberOptional
searchstringOptional
sortDirectionstringOptional
either in asc or desc but mostly asc
startDatedateOptional
the date the challenge starts
endDatedateOptional
the date the challenge ends

cURL
curl --request GET
'https://test-api.bvndle.com/api/v1/laas/streaks?page=1&take=10' \
--header 'Content-Type: application/json' \

{
  "status": "success",
  "message": "streaks returned",
  "data": {
    "data": [
      {
        "id": "dcae2098-5f8f-4bb4-8ec4-a03da8409808",
        "name": "login_streak",
        "createdAt": "2025-09-15T23:42:32.301Z",
        "updatedAt": "2025-09-15T23:42:32.301Z",
        "rewards": [
          {
            "id": "e5b57e58-7da6-4bd5-b6aa-66c0d287b0ad",
            "reward": 20,
            "type": "coins",
            "createdAt": "2025-09-15T23:42:32.369Z",
            "updatedAt": "2025-09-15T23:42:32.369Z"
          },
          {
            "id": "03339c95-8c38-437f-a27c-2dfc5cf32ed7",
            "reward": 2000,
            "type": "airtime",
            "createdAt": "2025-09-15T23:42:32.421Z",
            "updatedAt": "2025-09-15T23:42:32.421Z"
          }
        ]
      },
      {
        "id": "1c865ca9-2df1-4d36-8f5b-fb5f33dc7f70",
        "name": "first_time_login",
        "createdAt": "2025-09-15T21:09:52.746Z",
        "updatedAt": "2025-09-15T22:12:07.735Z",
        "rewards": [
          {
            "id": "f1de5758-9423-4570-9a16-eec564dfa230",
            "reward": 2000,
            "type": "airtime",
            "createdAt": "2025-09-15T21:09:52.873Z",
            "updatedAt": "2025-09-15T21:09:52.873Z"
          },
          {
            "id": "14c7655e-db11-4741-9c16-a4d3300a2206",
            "reward": 2,
            "type": "coins",
            "createdAt": "2025-09-15T21:09:52.811Z",
            "updatedAt": "2025-09-15T22:30:52.654Z"
          }
        ]
      }
    ],
    "count": 2,
    "currentpage": 1,
    "nextpage": null,
    "prevpage": null,
    "lastpage": 1
  }
}