Skip to main content
POST
Add a cage card template

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Body

application/json
name
string
required
Maximum string length: 120
paper
enum<string>

What the card is printed on: an index card (4x6, 5x7 or 6x9 inches), half a letter sheet, a letter sheet, or A5.

Available options:
index_4x6,
index_5x7,
index_6x9,
half_letter,
letter,
a5
fields
string[]

The keys of the fields to print, in order. The app prints name, pet_id, species, breed, sex, age, altered, status, location, intake_date, days_in_care, microchip_number, health_status, medical_flags, behavioral_traits, adoption_fee and description. A new template with none sent prints no fields.

Maximum array length: 24
Required string length: 1 - 60
show_photo
boolean

True for a new template unless you say.

qr_mode
enum<string>

What the QR code points at. none prints no code. record opens the animal's record in RescueConsole, which needs a sign-in. url is an address you write in qr_url_template. site is the animal's page on your public site at your primary domain. With no address, or no live domain, no code is printed.

Available options:
none,
record,
url,
site
qr_url_template
string | null

Must start with http:// or https://. Use {pet_id}, {id} or {name} where the animal goes, as in https://contoso.com/adopt/{pet_id}.

is_default
boolean

Making one template the default takes that from the one that had it.

style
enum<string>

list prints the fields the template lists. petsmart is the PetSmart card, with its own fixed wording, the photo in one bottom corner and the QR code in the other.

Available options:
list,
petsmart
photo_corner
enum<string>
Available options:
bottom_left,
bottom_right
sponsor_logo_file_ids
string[]

IDs of PNG, JPEG, WebP or GIF images uploaded to your organization, in print order.

Maximum array length: 4
Maximum string length: 80

Response

The template, as it was created.

template
object
required