Skip to main content
GET
List templates

GET /templates

Retrieve templates for your API key’s account. Send Authorization: Bearer YOUR_API_KEY and X-Device-ID: YOUR_DEVICE_ID. See authentication. The response wraps the list in templates. Check isActive before offering a template for issuance. isLocationBound controls whether issued cards are restricted to their issuing location. cardData.lifetime is in hours. Points and status cardData include a populated program. Coupon templates expose isAmountSpecified. When true, issuance uses cardData.amount; when false, your apply/create request must supply a positive amount in cents.

Example request

Authorizations

Authorization
string
header
required

Location API key. Also requires X-Device-ID.

Headers

X-Device-ID
string
required

Stable device identifier. API key binds to this value on first use.

Response

Success

success
boolean
templates
object[]