Skip to content

A card's type, rules, rewards and join form

GET /programs/{id}

Scope: programs:read. The key’s connection must hold it; see the reference’s introduction.

Replace the CAPITALS, and set PASSKAAR_KEY to a key from the portal.

Terminal window
curl -X GET "https://api.passkaar.com/integrations/v1/programs/PROGRAM_ID" \
-H "Authorization: Bearer $PASSKAAR_KEY"
Name In Type Required What it is
id path string (uuid) yes

The card.

Field Type Required What it is
id string (uuid) yes
name string yes
type stamps, points, coupon, prepaid, membership, tiers yes tiers is the VIP card; prepaid the prepaid card.
accepting_sign_ups boolean yes False while the card is paused, its sign-up cap is reached or it has ended; POST /enrolments then answers program_closed.
join_url string (uri) yes The printed join link, https://passkaar.com/j/….
ends_on string (date) or null yes
updated_at string (date-time) yes RFC 3339. Answers are in UTC; requests may carry any offset.
rules object yes The card’s rules, by its type.
form array of object (FormField) yes

Every error is a Problem Details answer with a stable code.

Status Code
400 invalid_request
401 unauthorized
404 not_found
429 rate_limited
500 internal_error
503 unavailable