These docs are for v2.2023.0401. Click to read the latest docs for v2.2025.0301.

Create User

Log in to see full request history
Path Params
int64
required

Company ID

Body Params
string
required

The user's first name

string
required

The user's last name

string | null

An optional alternate first name

string | null

An optional alternate last name

location_ids
array of integers
required

An array of location IDs this user will be assigned to

location_ids*
array of integers | null
required

An array of department IDs this user will be assigned to. Department ID is required if this user's location has at least one department

department_ids*
array of integers | null

An array of role IDs this user will be assigned to.

role_ids
string
required

the user's email

string | null

The user's mobile phone number. Format with no spaces and include area code

string | null

The user's home phone number. Format with no spaces and include area code

string | null

The user's address

string | null

The user's postal code or zip code

string | null

The user's city

string | null

The user's province or state

boolean | null

If true Invite the user to 7shifts

string | null

Notes associated with this user

date | null

The hire date of this user. Format YYYY-MM-DD

string
required

The type of this user

string | null

Either an employee ID or an ID assigned by your payroll provider that is used in your payroll export

integer | null

The punch ID they punch in/out with. If no value is provided a new one will be created

date | null

The user's birthdate. Format YYYY-MM-DD

string
Defaults to en

The user's preferred language. Default value is en

boolean | null

User should appear in the system as an employee. Applies to admin users only

boolean | null

Subscribe this user to updates from 7shifts. This includes announcing new features for 7shifts

integer | null

The maximum weekly hours this user is set to work

number | null
string | null

The wage type

array of objects | null

An array of Wages that will be set to the assigned User's roles

wages
Headers
string

7shifts API version

uuid

Company GUID

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json