Skip to main content
POST
Add a record to many animals

Authorizations

Authorization
string
header
required

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

Body

application/json
record
object
required
animals
object[]
required

The animals, at most 100. An animal named twice is counted once.

Required array length: 1 - 100 elements
next
object | null

The follow-up record, such as the next vaccine due, made on every animal as it is. The animals' own details are not added to it.

split_cost
boolean

true makes record.cost_cents the whole bill, divided evenly across the animals to the cent; when it does not divide, the first animals in the list carry a cent more. Each animal's share is the cost on its record, and counts in its cost of care. Without it, record.cost_cents is the cost on each animal's record. The next record carries no cost either way.

Response

Every record was added.

created
integer
required

How many records were made, the follow-ups included.

animals
integer
required

How many animals.

ids
string[]
required

The new records' IDs.