User

Get the progress of a goal

Get Promotion Progress returns the progress of the user for the given goal.

get/v1/client/promotions/progress/{goalId}

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v1/client/promotions/progress/{goalId}
  • Auth
    • API key in header X-Api-Token and API key in header X-User-Id
    • or API key in query parameter token and API key in query parameter uid
    • or HTTP bearer

Path parameters

goalIdstring required

Response

OK

Example response

{
  "data": {
    "reward_usd": "1.23",
    "reward_currency": "123.00"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.