Skip to main content
A visit check-in records that a teammate came to one of your locations, and when. Send one from your own app or door system as a 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 to POST /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
  • location is the external_id of one of your locations. See Locations and equipment.
  • at is when the teammate arrived, as an RFC 3339 time with an offset.
  • Each event gets its own result: accepted, duplicate or rejected with a reason. See Sending events.
The call for one teammate is in the panel at the top of this page. A door system that reports many arrivals uses the bulk endpoint with its organization key; a member app sends the signed-in teammate’s own check-in with their token and @me.
Name each teammate in teammate. One request holds up to 1,000 events.

Duplicates

Sending the same event again with the same idempotency_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’s time_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’s external_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.
The same rules as a path, from the accepted event to the session the teammate trains today. A check-in at the home location, or on a day without a session, records the visit and changes no plan. A second check-in at the same location the same day changes nothing more. A check-in at another location later the same day re-plans the session again for that location, if it has still not started. Going home later the same day leaves the day as it is; the next session uses the home location’s equipment again. The switch happens shortly after the event is accepted. The event’s result is accepted either way. Test-mode check-ins re-plan only programs your test key created for that test teammate.