← Tools Reference

7shifts

7shifts integration (Productivity). Imported from open-connector.

API key7 toolshttps://api.7shifts.com
GET
7_shifts_retrieve_identity
Retrieve the 7shifts identity associated with the access token.

/v2/whoami

2 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
GET
7_shifts_list_companies
List 7shifts companies available to the access token.

/v2/companies

3 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
modified_sincestringoptionalA date in YYYY-MM-DD format.
GET
7_shifts_get_company
Retrieve one 7shifts company by ID.

/v2/companies/{id}

3 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
idintegerrequiredThe 7shifts company ID.
GET
7_shifts_list_locations
List 7shifts locations for a company.

/v2/company/{company_id}/locations

7 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
company_idintegerrequiredThe 7shifts company ID.
modified_sincestringoptionalA date in YYYY-MM-DD format.
deletedbooleanoptionalWhether to include deleted locations.
cursorstringoptionalThe cursor for the next or previous page of results.
limitintegeroptionalThe number of results desired per page.
GET
7_shifts_list_departments
List 7shifts departments for a company.

/v2/company/{company_id}/departments

7 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
company_idintegerrequiredThe 7shifts company ID.
modified_sincestringoptionalA date in YYYY-MM-DD format.
location_idintegeroptionalThe 7shifts location ID.
cursorstringoptionalThe cursor for the next or previous page of results.
limitintegeroptionalThe number of results desired per page.
GET
7_shifts_list_roles
List 7shifts roles for a company.

/v2/company/{company_id}/roles

9 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
company_idintegerrequiredThe 7shifts company ID.
location_idintegeroptionalThe 7shifts location ID.
department_idintegeroptionalThe 7shifts department ID.
idsarrayoptionalThe role IDs to include.
modified_sincestringoptionalA date in YYYY-MM-DD format.
cursorstringoptionalThe cursor for the next or previous page of results.
limitintegeroptionalThe number of results desired per page.
GET
7_shifts_list_users
List 7shifts users for a company.

/v2/company/{company_id}/users

12 parameters
ParamTypeRequiredDescription
apiVersionstringoptionalThe 7shifts API version to send as x-api-version.
companyGuidstringoptionalThe 7shifts company GUID to send as x-company-guid.
company_idintegerrequiredThe 7shifts company ID.
modified_sincestringoptionalA date in YYYY-MM-DD format.
location_idintegeroptionalThe 7shifts location ID.
department_idintegeroptionalThe 7shifts department ID.
role_idintegeroptionalThe 7shifts role ID.
statusstringoptionalThe user status to filter by.
namestringoptionalA partial or full employee name to filter by.
sort_bystringoptionalThe user sort expression, such as firstname.asc,lastname.desc.
cursorstringoptionalThe cursor for the next or previous page of results.
limitintegeroptionalThe number of results desired per page.