Skip to main content
GET
/
rewards
/
loyalty
Get loyalty status
curl --request GET \
  --url https://api.sprucecollective.co.uk/rewards/loyalty \
  --header 'Authorization: <api-key>'
{
  "created_at": "<string>",
  "current_streak_months": 123,
  "last_billed_period": "<string>",
  "last_bonus_amount": 123,
  "last_bonus_period": "<string>",
  "lifetime_months": 123,
  "milestones_awarded": {},
  "next_bonus_amount": 123,
  "site_id": "<string>",
  "updated_at": "<string>",
  "user_id": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Headers

x-site-id
string

Site ID (optional, uses header)

Response

OK

created_at
string
current_streak_months
integer
last_billed_period
string
last_bonus_amount
integer
last_bonus_period
string
lifetime_months
integer
milestones_awarded
object
next_bonus_amount
integer
site_id
string
updated_at
string
user_id
string