List Collectibles

​

Returns the list of collectibles configured for a business. 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

  • Advertises which content types the client is able to understand

  • Used to authorize the request with access_token. It should be supplied as Bearer ACCESS_TOKEN_GOES_HERE.

  • Set this header to application/json.

  • The signature for the API call

  • Used to identify the software, device, and application initiating the request, providing information about the client to the server. For details, see User Agent.

Body

application/json
  • Unique client identifier

  • Comma-separated collectible category IDs to filter by (e.g., "67,69,75"). Multiple category IDs must be comma-separated.

  • Page number for pagination

  • Number of records to return per page

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/api2/mobile/collectibles
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/mobile/collectibles \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN_GOES_HERE' \
  --header 'Content-Type: application/json' \
  --header 'x-pch-digest: {{$$.env.signature}}' \
  --header 'User-Agent: AppName/AppVersion/BuildNumber (OS; Model; MANUFACTURER; MODEL; OS Version)' \
  --data '{
  "client": "CLIENT_GOES_HERE",
  "page": 1,
  "per_page": 33,
  "collectible_category_id": "67,69,75"
}'
{
  "data": [
    {
      "collectible_name": "Immortal",
      "collectible_id": 123,
      "image": "IMAGE_URL_GOES_HERE",
      "description": "DESCRIPTION_GOES_HERE",
      "sequence": null,
      "collectible_category_name": null,
      "collectible_category_id": null
    }
  ],
  "meta": {
    "current_page": 1,
    "next_page": 2,
    "prev_page": null,
    "total_pages": 4,
    "total_count": 33
  }
}