Set my reactions on a message
curl --request PUT \
--url https://sandbox.rx.tera.health/v1/patient/messages/{message_id}/reactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"emojis": [
"👍"
]
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({emojis: ['👍']})
};
fetch('https://sandbox.rx.tera.health/v1/patient/messages/{message_id}/reactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/patient/messages/{message_id}/reactions"
payload = { "emojis": ["👍"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"message_id": "0190f5c4-2e3f-7a41-9b56-7c8d9e0f1a23",
"reactions": [
{
"emoji": "👍",
"by": "patient"
}
]
}Care messaging
Set my reactions on a message
Replaces the patient’s reactions on any message in their care or AI Coach threads. Send [] to remove them.
Plans: AI + health and fitness coaches (ai_health_fitness), AI only (ai_only).
PUT
/
v1
/
patient
/
messages
/
{message_id}
/
reactions
Set my reactions on a message
curl --request PUT \
--url https://sandbox.rx.tera.health/v1/patient/messages/{message_id}/reactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"emojis": [
"👍"
]
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({emojis: ['👍']})
};
fetch('https://sandbox.rx.tera.health/v1/patient/messages/{message_id}/reactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.rx.tera.health/v1/patient/messages/{message_id}/reactions"
payload = { "emojis": ["👍"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"message_id": "0190f5c4-2e3f-7a41-9b56-7c8d9e0f1a23",
"reactions": [
{
"emoji": "👍",
"by": "patient"
}
]
}Authorizations
A 15-minute token bound to one patient and one enrollment, issued by POST /v1/oauth/token with the
token-exchange grant. Treat it as opaque. When it expires, exchange a fresh assertion; there is no refresh token.
Path Parameters
Body
application/json
The patient's full set of reactions on the message. An empty list removes them all.
Maximum array length:
10Required string length:
1 - 16Example:
["👍"]

