insights:read. A test key reads test teammates; a live key reads live ones. The
two never mix.
Who can be flagged
Only claimed teammates who allowat_risk for your organization are checked, listed or sent in
a webhook. The answer is read again at every request and before every webhook delivery: a
teammate who turns it off, or leaves, disappears from your next request, their flag is deleted
and a queued teammate.at_risk delivery is dropped. Placeholders that were never claimed are
never flagged, even when you sent their check-ins yourself. A teammate who joined in the app
and has no id from you is not listed here.
Flagging tells you; it does not tell the teammate. Nothing is sent to them.
Reasons
The rules use fixed thresholds that are the same for every organization. The check reads only
days that have ended everywhere, so a flag can appear up to two days after the slip. A flag
closes at the first daily check where no reason holds any more, for example when the teammate
is back to their usual visits. More reason codes may be added, so handle one you do not know.
The life of one flag. Only
open and nudged flags are listed, and the webhook is sent only
when a flag opens.
List current flags
200
teammate is your own id for the teammate.
status is open, or nudged once the teammate’s own coach has opened a conversation with
them from the flag in the console, your staff asked that coach to reach out, or your staff asked
for a fresh program for them (which also appears as a program job of yours). Either way the flag is current until the daily check resolves it.
The webhook
Subscribe an endpoint toteammate.at_risk. It is sent once,
when a flag opens, with the teammate id, the reason codes and the time, and nothing else.
teammate.at_risk
Errors
Requests count toward your key’s rate limits like any other.