Authentication
Retrieve Identity
get/v2/whoami
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
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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": {
"users": [
{
"timezone": "America/Chicago",
"language": "en",
"skill_level": 2,
"wage_type": "salary"
}
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.