Get badges (all or by id)
This endpoint allows you to fetch badge(s) data.
Authorizations
Query Parameters
UUID of the organization (optional, converted to lowercase)
"123e4567-e89b-12d3-a456-426614174222"
UUID of the website (optional, converted to lowercase)
"123e4567-e89b-12d3-a456-426614174111"
Array of badge IDs (converted to lowercase) to fetch
["123e4567-e89b-12d3-a456-426614174333"]
UUID of the user (optional, converted to lowercase)
"123e4567-e89b-12d3-a456-426614174222"
UUID of the badge to start after (converted to lowercase)
"123e4567-e89b-12d3-a456-426614174333"
Number of badges to fetch
1 <= x <= 1000
10
Include deleted badges in the response
false
Response
Response returned upon successful fetching of the badges.
UUID of the badge (converted to lowercase)
"123e4567-e89b-12d3-a456-426614174333"
The name of the badge
"Example Badge"
The description of the badge
"Example description"
The URL of the badge image
"https://example.com/image.png"
Array of conditions of the badge
Schema for a loyalty condition rule.
Array of user badges
Was this page helpful?