Time Punches
Retrieve Time Punch
get/v2/company/{company_id}/time_punches/{time_punch_id}
Request
- Base URLhttps://api.7shifts.com
- Auth
- OAuth 2Authorization codehttps://app.7shifts.com/oauth2/authorizeClient credentialsPasswordToken URLhttps://app.7shifts.com/oauth2/token
- or API key in cookie 7session
Path parameters
company_idinteger required
Company ID
time_punch_idinteger required
Time punch ID
Headers
x-api-versionstring
An API version
Example:2022-05-01
7shifts API version
x-company-guidstring uuid
Company GUID
Response
OK
Example response
{
"data": {
"clocked_in": "2020-01-20T12:00:00.000Z",
"clocked_out": "2020-01-20T12:00:00.000Z",
"pos_type": "web",
"breaks": [
{
"in": "2020-01-20T12:00:00-0400",
"out": "2020-01-20T12:00:00-0400"
}
],
"created": "2020-01-20T12:00:00.000Z",
"modified": "2020-01-20T12:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.