curl --request GET \
--url https://{organization}.rescueconsole.com/api/activity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"module": "people",
"entity_type": "<string>",
"entity_id": "<string>",
"action": "create",
"actor_type": "user",
"actor_id": "<string>",
"diff": {},
"occurred_at": "2023-11-07T05:31:56Z",
"snapshot": {}
}
],
"limit": 123,
"offset": 123,
"has_more": true
}{
"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)"
}List activity
One page of changes, newest first. There is no permission of its own for activity: each change belongs to an area (Animals, People, Shifts and so on), and you see only the changes in areas your key may read. A key that may read no area gets an empty list. Name one record with entity_id, or one person with person_id, for that record’s history. Tasks are not recorded here. This is a record to read: nothing here undoes a change.
curl --request GET \
--url https://{organization}.rescueconsole.com/api/activity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"module": "people",
"entity_type": "<string>",
"entity_id": "<string>",
"action": "create",
"actor_type": "user",
"actor_id": "<string>",
"diff": {},
"occurred_at": "2023-11-07T05:31:56Z",
"snapshot": {}
}
],
"limit": 123,
"offset": 123,
"has_more": true
}{
"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 changes in this area. An area your key may not read answers 403 rather than an empty list. An area of your organization, as a key's permissions name it.
people, organizations, animals, fundraising, shifts, events, registry, communications Only changes to this kind of record, such as animal, person, donation or adoption_application.
Only changes to the record with this record ID.
Everything about one person: changes to their own record, changes to records that name them as their person (a booking, a donation, an adoption), and bookings they came along to as a companion. Still only in areas your key may read.
create, update, delete, state_change Only changes in the last 24 hours, 7 days, 30 days or 90 days, counted back from now. 1d is the last 24 hours; 7d, 30d and 90d the last 7, 30 and 90 days.
1d, 7d, 30d, 90d How many to return. 50 unless you say, 200 at most.
1 <= x <= 200How many to skip, for the next page.
x >= 0