Get the current promotion streak

GET /v1/client/promotions/streak

Get Current Streak returns the current streak of the user.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
GET /v1/client/promotions/streak
curl \
 --request GET 'https://api.bitlabs.ai/v1/client/promotions/streak' \
 --header "X-Api-Token: $API_KEY" \
 --header "X-User-Id: $API_KEY"
Response examples (200)
{
  "data": {
    "streak": 42,
    "earnings_today": "12.34",
    "deadline": "2024-11-02T23:59:59+01:00"
  }
}