curl --request GET \
--url https://sandbox.rx.tera.health/v1/tenants \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.rx.tera.health/v1/tenants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/tenants"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)List the brands this client may act for
A platform partner’s client sees every brand under the partner, whichever brand its token is for. A brand’s own
client sees its own brand. Use the ids as tenant_id on the token request and in patient assertions. A cursor
this list did not return answers 422 validation_failed, so a partial list is never mistaken for the whole.
Scope: tenants:read.
curl --request GET \
--url https://sandbox.rx.tera.health/v1/tenants \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.rx.tera.health/v1/tenants', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/tenants"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
A brand's server, one OAuth client per brand and environment. Get a token with the
client_credentials grant and send it as Authorization: Bearer <token>. Tokens last 1 hour.
A brand server reads status and ids only; it never reads clinical content. A platform partner holds one
client for all its brands and gets one token per brand, naming it with tenant_id.
Query Parameters
Page size.
1 <= x <= 100The next_cursor from the previous page. Omit it for the first page.
512
