useLoyalty
Api reference

Get Member

Retrieve a specific member by their external ID

GET/members/{externalId}

Retrieve a specific member by their external ID

AuthorizationBearer <token>

Use your private API key (sk_xxx) as the bearer token

In: header

Path Parameters

externalId*string

Response Body

application/json

curl -X GET "https://app.useloyalty.app/api/v1/members/string"
{
  "id": "string",
  "externalId": "string",
  "email": "user@example.com",
  "name": "string",
  "avatarUrl": "http://example.com",
  "points": 0,
  "totalPointsEarned": 0,
  "currentStreak": 0,
  "longestStreak": 0,
  "metadata": {},
  "createdAt": "2019-08-24T14:15:22Z"
}
Empty