External User Mappings
List External User Mapping
get/v2/company/{company_id}/external_user_mappings
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
- TypeScripthttps://skmtc.dev/7shifts/apis/7shifts-api/docs/v2/company/:company_id/external_user_mappings/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
company_idinteger required
Company ID
Query parameters
location_idinteger
Location ID
user_idinteger
The 7shifts user ID
external_user_idstring
The external user ID
modified_sincestring
A date with YYYY-MM-DD format
Example:2020-01-01
Return records that have been modified since the specified date. Format YYYY-MM-DD
cursorstring
Cursor for the next or previous page of results.
limitinteger
The number of results desired per page.
Headers
x-api-versionstring
An API version
Example:2022-05-01
7shifts API version
x-company-guidstring uuid
Company GUID
Response
Success
Example response
{
"data": [
{
"created": "2021-01-01T00:00:00.000Z",
"modified": "2021-01-01T00:00:00.000Z"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.