Create a litter
curl --request POST \
--url https://{organization}.rescueconsole.com/api/animals/litters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Spice litter",
"born_on": "2026-07-04",
"notes": "Found in a garden shed with their mother.",
"animal_ids": [
"b3e9a7c4-1f26-4d58-8e0b-5a4c2d7f9e63",
"0a8c5e21-7b3d-4f96-b1e4-92d6c3a8f507",
"e71b4d09-3a6f-4c2e-9d85-6f0a1b2c3e48"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Spice litter',
born_on: '2026-07-04',
notes: 'Found in a garden shed with their mother.',
animal_ids: [
'b3e9a7c4-1f26-4d58-8e0b-5a4c2d7f9e63',
'0a8c5e21-7b3d-4f96-b1e4-92d6c3a8f507',
'e71b4d09-3a6f-4c2e-9d85-6f0a1b2c3e48'
]
})
};
fetch('https://{organization}.rescueconsole.com/api/animals/litters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/litters"
payload = {
"name": "Spice litter",
"born_on": "2026-07-04",
"notes": "Found in a garden shed with their mother.",
"animal_ids": ["b3e9a7c4-1f26-4d58-8e0b-5a4c2d7f9e63", "0a8c5e21-7b3d-4f96-b1e4-92d6c3a8f507", "e71b4d09-3a6f-4c2e-9d85-6f0a1b2c3e48"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"born_on": "2023-12-25",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"member_count": 123
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Litters
Create a litter
Makes a litter and puts the animals you name in it. An animal is in one litter at a time: naming it here moves it out of any other. A litter and its members cannot be changed afterwards. Needs write on Animals.
POST
/
api
/
animals
/
litters
Create a litter
curl --request POST \
--url https://{organization}.rescueconsole.com/api/animals/litters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Spice litter",
"born_on": "2026-07-04",
"notes": "Found in a garden shed with their mother.",
"animal_ids": [
"b3e9a7c4-1f26-4d58-8e0b-5a4c2d7f9e63",
"0a8c5e21-7b3d-4f96-b1e4-92d6c3a8f507",
"e71b4d09-3a6f-4c2e-9d85-6f0a1b2c3e48"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Spice litter',
born_on: '2026-07-04',
notes: 'Found in a garden shed with their mother.',
animal_ids: [
'b3e9a7c4-1f26-4d58-8e0b-5a4c2d7f9e63',
'0a8c5e21-7b3d-4f96-b1e4-92d6c3a8f507',
'e71b4d09-3a6f-4c2e-9d85-6f0a1b2c3e48'
]
})
};
fetch('https://{organization}.rescueconsole.com/api/animals/litters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/litters"
payload = {
"name": "Spice litter",
"born_on": "2026-07-04",
"notes": "Found in a garden shed with their mother.",
"animal_ids": ["b3e9a7c4-1f26-4d58-8e0b-5a4c2d7f9e63", "0a8c5e21-7b3d-4f96-b1e4-92d6c3a8f507", "e71b4d09-3a6f-4c2e-9d85-6f0a1b2c3e48"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"born_on": "2023-12-25",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"member_count": 123
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Body
application/json