List who may read an inbox
curl --request GET \
--url https://{organization}.rescueconsole.com/api/communications/inboxes/{id}/access \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/communications/inboxes/{id}/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/communications/inboxes/{id}/access"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"is_restricted": true,
"results": [
{
"id": "<string>",
"person_id": "<string>",
"role_key": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"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)"
}Inboxes
List who may read an inbox
The access list on one inbox. Whoever holds your organization’s Organization admin role reads every inbox, whatever its list says. Needs read on Communications.
GET
/
api
/
communications
/
inboxes
/
{id}
/
access
List who may read an inbox
curl --request GET \
--url https://{organization}.rescueconsole.com/api/communications/inboxes/{id}/access \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/communications/inboxes/{id}/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/communications/inboxes/{id}/access"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"is_restricted": true,
"results": [
{
"id": "<string>",
"person_id": "<string>",
"role_key": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"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_.
Path Parameters
The inbox's ID.