Journey Docs
Members APILoyalty

Get Perks for Group

Get all perks belonging to a perk group

GET/members/me/loyalty/perk-groups/{id}/perks

Overview

Returns all individual perks that belong to a specific perk group. This shows the detailed benefits available within that group.

Authentication

Requires a valid Clerk JWT token in the Authorization header.

Path Parameters

idpathnumberrequired

Perk group ID to get perks for

Request

curl -X GET "http://localhost:3000/v1/members/me/loyalty/perk-groups/1/perks" \
  -H "Authorization: Bearer YOUR_CLERK_JWT"

Response

itemsarrayrequired

List of perks in this group

array items
idnumberrequired

Unique perk ID

documentIdstring

Document identifier for the perk

namestringrequired

Display name of the perk

descriptionstring

Description of what this perk provides

headlinestring

Short marketing headline for the perk

totalnumberrequired

Total number of perks in this group

Response

200 Response
{
  "items": [
    {
      "id": 15,
      "documentId": "perk_suite_upgrade",
      "name": "Complimentary Suite Upgrade",
      "description": "Upgrade to the next available suite category at no additional charge",
      "headline": "Elevate Your Stay"
    },
    {
      "id": 16,
      "documentId": "perk_late_checkout", 
      "name": "Late Checkout",
      "description": "Extended checkout time until 4:00 PM subject to availability",
      "headline": "Extra Time to Unwind"
    },
    {
      "id": 17,
      "documentId": "perk_vip_amenities",
      "name": "VIP Welcome Amenities",
      "description": "Luxury welcome amenities delivered to your suite upon arrival",
      "headline": "Premium Welcome Experience"
    }
  ],
  "total": 3
}

On this page