List a record's conversations
curl --request GET \
--url https://{organization}.rescueconsole.com/api/communications/entity-threads \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/communications/entity-threads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/communications/entity-threads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"inbox_id": "<string>",
"inbox_name": "<string>",
"inbox_display_name": "<string>",
"subject": "<string>",
"status": "open",
"assigned_person_id": "<string>",
"assigned_person_name": "<string>",
"is_archived": true,
"archived_at": "<string>",
"is_unread": true,
"message_count": 123,
"last_message_at": "2023-11-07T05:31:56Z",
"last_from": "<string>",
"last_direction": "<string>",
"last_snippet": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"link": {
"id": "<string>",
"source": "<string>",
"is_confirmed": 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)"
}Conversations
List a record's conversations
The conversations about one record, the most recent first: what a person, animal or application page shows. Only confirmed links count unless you ask for suggestions too. Not paged. A key sees the inboxes that the person who made the key may read, as that person’s access stands at the moment of the request; a conversation in any other inbox answers 404, the same as one that does not exist. Needs read on Communications.
GET
/
api
/
communications
/
entity-threads
List a record's conversations
curl --request GET \
--url https://{organization}.rescueconsole.com/api/communications/entity-threads \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/communications/entity-threads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/communications/entity-threads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"id": "<string>",
"inbox_id": "<string>",
"inbox_name": "<string>",
"inbox_display_name": "<string>",
"subject": "<string>",
"status": "open",
"assigned_person_id": "<string>",
"assigned_person_name": "<string>",
"is_archived": true,
"archived_at": "<string>",
"is_unread": true,
"message_count": 123,
"last_message_at": "2023-11-07T05:31:56Z",
"last_from": "<string>",
"last_direction": "<string>",
"last_snippet": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"link": {
"id": "<string>",
"source": "<string>",
"is_confirmed": 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
The kind of record a conversation can be about.
Available options:
person, organization, animal, location_unit, donation, campaign, shift, volunteer_event, shift_signup, adoption_application, org_event, form_submission The record's ID.
true to include conversations only suggested for this record.
Available options:
true Response
The conversations.
Show child attributes
Show child attributes