GET
/
api
/
loyalty
/
badge_users
Get users for a badge
curl --request GET \
  --url https://admin.snagsolutions.io/api/loyalty/badge_users \
  --header 'X-API-KEY: <api-key>'
{
  "id": "a96edeb7-c10f-4e63-9acf-85e277665587",
  "userId": "9b0351c3-71ab-4a45-a36a-f7b35ccd276b",
  "loyaltyBadgeId": "749b1bb0-a607-4010-888b-8321905606b9",
  "websiteId": "42218351-3c75-46af-8453-5ae04b9ad7bb",
  "organizationId": "548b0619-f4b3-4ef6-8dd9-77dfa9260eb2",
  "createdAt": "2025-09-11T13:45:40.123Z",
  "updatedAt": "2025-09-11T13:45:40.123Z",
  "deletedAt": null,
  "status": "active",
  "progress": [],
  "dismissedInUi": false,
  "user": {
    "walletAddress": "0x1234567890abcdef1234567890abcdef12345678"
  }
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

loyaltyBadgeId
string<uuid>
required

UUID of the loyalty badge (converted to lowercase)

Example:

"123e4567-e89b-12d3-a456-426614174222"

organizationId
string<uuid>

UUID of the organization (optional, converted to lowercase)

Example:

"123e4567-e89b-12d3-a456-426614174222"

websiteId
string<uuid>

UUID of the website (optional, converted to lowercase)

Example:

"123e4567-e89b-12d3-a456-426614174111"

walletAddress
string

Wallet Address of the user, or array of wallet addresses.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

status
enum<string>

Status of the badge

Available options:
active,
inactive,
revoked
Example:

"active"

startingAfter
string<uuid>

UUID of the badge to start after (converted to lowercase)

Example:

"123e4567-e89b-12d3-a456-426614174333"

limit
integer

Number of badges to fetch

Required range: 1 <= x <= 1000
Example:

10

Response

200

Response returned upon successful fetching of the badge users.