visit_check_in event. A teammate who uses the
TechnicallyFit app can also check in by scanning the location’s code.
Send a check-in
Send the event toPOST /v1/teammates/{external_id}/events, or for many teammates at once to
POST /v1/events:bulk. Your key needs events:write. The body for one teammate:
Request
locationis theexternal_idof one of your locations. See Locations and equipment.atis when the teammate arrived, as an RFC 3339 time with an offset.- Each event gets its own result:
accepted,duplicateorrejectedwith a reason. See Sending events.
@me.
- Organization key
- Teammate token
Name each teammate in
teammate. One request holds up to 1,000 events.Duplicates
Sending the same event again with the sameidempotency_key answers duplicate and stores
nothing new.
A teammate who checks in twice at the same location within two hours makes one visit, even
when the two check-ins have different keys (a door reader and your app both reporting the
same arrival). The second event is accepted and adds no second visit. A check-in at another
location inside those two hours is a new visit.
Rejections
A check-in dated in the past is accepted and recorded as a visit at that time.
A rejected check-in still answers
200; its result carries the reason:
200
Time zones
A visit is stored with the location’s own date and hour (from the location’stime_zone),
so a visit at 7 in the morning counts at 7 in the morning wherever the location is.
Who owns a visit
A visit belongs to the teammate. It is in the teammate’s data export, labeled with your organization, and it stays with the teammate if they leave. Deleting their account deletes it. Test-mode check-ins stay in test mode and never reach live data.The location switch
A check-in at a location other than the teammate’s home location re-plans that day’s session from the visited location’s equipment, and leaves later sessions on the home plan. The teammate’s program keeps a record of the change that names the check-in and your location’sexternal_id
as its cause, and GET /v1/teammates/{external_id}/sessions/today returns the re-planned
session. This one-day change is not listed in the program’s revisions and sends no webhook yet.
The session switches only when all of these hold:
- The check-in is on the teammate’s today: its date at the location is the teammate’s own date. A check-in sent late, for an earlier day, is stored and changes no plan.
- The teammate has a session that day and has not started it.
- The teammate shares their program with your organization.
- The location’s equipment is set up.
- No coach manages the teammate’s program. A coach’s program is never changed by a check-in.
- The teammate has not already rebuilt that day’s session for equipment they picked themselves. Their own pick outranks a check-in.
accepted either
way. Test-mode check-ins re-plan only programs your test key created for that test teammate.