Skip to main content
POST
Add a behavior attribute

Authorizations

Authorization
string
header
required

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

Body

application/json
label
string
required

The name. Unique, ignoring case. Longer names are cut to 80 characters.

key
string

Made from the label unless you give one. Turned into lowercase letters, digits and underscores.

description
string | null

Cut to 1,000 characters.

show_on_website
boolean
default:false
show_on_kennel_card
boolean
default:true
disclose_on_adoption
boolean
default:false
disclosure
string | null

Cut to 1,000 characters.

sort_order
integer
default:0
species
string[] | null

The species it applies to, as species keys (dog, cat, rabbit and the rest); null or an empty list is every species. The observation form offers an animal only the attributes for its species.

Response

The attribute, as it was created.

attribute
object
required