Fetch User Collectibles
Returns the list of collectibles earned by a user. Supports pagination and optional filtering by collectible category.
Note: The Digital Collectibles feature must be enabled for the business in the Punchh platform. Contact your Punchh representative to update this Punchh platform configuration.
Headers
- Type: stringAcceptrequired
Advertises which content types the client is able to understand
- Type: stringAuthorizationrequired
Used to authorize the request with access_token. It should be supplied as
Bearer ACCESS_TOKEN_GOES_HERE. - Type: stringContent
- Type requiredSet this header to application/json.
- Type: stringAccept
- Language Preferred language
- Type: stringx
-pch -digest requiredThe signature for the API call
- Type: stringUser
- Agent requiredUsed to identify the software, device, and application initiating the request, providing information about the client to the server. For details, see User Agent.
Body
- Type: stringclientrequired
OAuth client ID provided by the business
- Type: stringcollectible
_category _id Filters collectibles by category. Accepts a single ID or multiple comma-separated IDs.
- NULL (not provided) → Returns all categories, including collectibles with no category.
- 0 → Returns only collectibles with no category.
- Single or multiple IDs (e.g., "0,1,2,3") → Returns collectibles matching those category IDs.
- Type: booleaninclude
_disappeared _collectibles Whether to include collectibles that have disappeared. Defaults to false.
- Type: integerpage
Page number for pagination. If not specified, returns the first page by default.
- Type: integerper
_page Number of records to return per page. Defaults to 20 if not specified.
Responses
- application/json
- application/json
- application/json
- application/json
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/mobile/users_collectibles \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN_GOES_HERE' \
--header 'Content-Type: application/json' \
--header 'Accept-Language: en' \
--header 'x-pch-digest: {{$$.env.signature}}' \
--header 'User-Agent: AppName/AppVersion/BuildNumber (OS; Model; MANUFACTURER; MODEL; OS Version)' \
--data '{
"client": "CLIENT_GOES_HERE"
}'
{
"data": [
{
"collectible_id": 116,
"collectible_name": "easter 7",
"image": "IMAGE_URL_GOES_HERE",
"count": 1,
"disappear_at": null,
"sequence": 1,
"collectible_category_id": 7,
"collectible_category_name": "Easter 2026"
},
{
"collectible_id": 103,
"collectible_name": "without category3",
"image": "IMAGE_URL_GOES_HERE",
"count": 1,
"disappear_at": "2026-03-28T09:00:00Z",
"sequence": 4,
"collectible_category_id": null,
"collectible_category_name": null
}
],
"meta": {
"current_page": 1,
"next_page": 2,
"prev_page": null,
"total_pages": 2,
"total_count": 22
}
}