Skip to main content

Check In to Activity

POST 

/api/crm/activities/:activity/check-in

Check in to a visit, call or meeting now. Location is optional: without it (for example when the device denied location) the check-in time is still recorded. When the accuracy is 250 m or better and the customer's shipping address is geocoded, the distance from it is stored; checkin.away_from_address is true when it exceeds the account's check-in distance warning. A visit on a call trip marks the trip in progress.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the customers scope and the crm_activities.create permission.

Changing an activity needs ownership of it (or the manage-all CRM activities permission). A completed activity can only be changed by its owner within the account's edit window (completed_edit_window_days in CRM settings); otherwise the request returns 403.

Body fields (all optional):

  • lat (number, -90 to 90; required with lng)
  • lng (number, -180 to 180; required with lat)
  • accuracy_m (number, metres, >= 0)

Returns 422 when the activity is a note, email or task or is cancelled, is already checked in, or was already checked out.

Request​

Responses​

OK

Response Headers
    Content-Type