Users
Retrieve User
get/v2/company/{company_id}/users/{identifier}
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.
Path parameters
company_idinteger required
Company ID
identifierstring int64 required
User ID. Accepted values are 7shifts user id or punch id. Use prefix punch: for punch id
Query parameters
include_inactiveboolean
include inactive users
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": {
"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.