List intakes
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/intakes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/intakes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/intakes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"animal_id": "<string>",
"intake_type": "stray",
"intake_date": "<string>",
"is_surrender": true,
"is_return": true,
"surrendered_by_person_id": "<string>",
"source_organization": "<string>",
"found_location": "<string>",
"found_on": "<string>",
"surrender_reason": "moving",
"surrender_notes": "<string>",
"condition_on_arrival": "healthy",
"has_vet_records": true,
"returned_from_adoption_id": "<string>",
"notes": "<string>",
"created_by_person_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"animal_name": "<string>",
"animal_species": "<string>",
"animal_status": "<string>",
"surrendered_by_first_name": "<string>",
"surrendered_by_last_name": "<string>"
}
],
"limit": 123,
"offset": 123,
"has_more": true,
"total": 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)"
}Intakes
List intakes
One page of arrivals across all your animals, the latest first. Each carries the animal’s name, species and current status, and the name of whoever brought it in. Needs read on Animals.
GET
/
api
/
animals
/
intakes
List intakes
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/intakes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/intakes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/intakes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"animal_id": "<string>",
"intake_type": "stray",
"intake_date": "<string>",
"is_surrender": true,
"is_return": true,
"surrendered_by_person_id": "<string>",
"source_organization": "<string>",
"found_location": "<string>",
"found_on": "<string>",
"surrender_reason": "moving",
"surrender_notes": "<string>",
"condition_on_arrival": "healthy",
"has_vet_records": true,
"returned_from_adoption_id": "<string>",
"notes": "<string>",
"created_by_person_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"animal_name": "<string>",
"animal_species": "<string>",
"animal_status": "<string>",
"surrendered_by_first_name": "<string>",
"surrendered_by_last_name": "<string>"
}
],
"limit": 123,
"offset": 123,
"has_more": true,
"total": 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_.
Query Parameters
Only arrivals of this type.
Available options:
stray, owner_surrender, transfer_in, born_in_care, return, confiscation, unknown, other Only arrivals given up for this reason.
Available options:
moving, landlord, allergies, behavior, medical_cost, no_time, owner_death, owner_illness, too_many_pets, financial, baby_or_child, stray_kept_too_long, other Arrivals on or after this day (YYYY-MM-DD).
Arrivals on or before this day (YYYY-MM-DD).
How many to return. 50 unless you say, 200 at most.
Required range:
1 <= x <= 200How many to skip, for the next page.
Required range:
x >= 0