---
updatedAt: 2026-06-12T23:00:16.000Z
agentTools:
  projectIndex: https://developers.7shifts.com/llms.txt
---

# Create User

**[Minimum Plan Required](https://developers.7shifts.com/docs/plan-requirements):** Entrée

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "7shifts API",
    "contact": {
      "email": "api-support@7shifts.com"
    },
    "version": "2026-06-01"
  },
  "servers": [
    {
      "url": "https://api.7shifts.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/v2/company/{company_id}/users": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Create User",
        "operationId": "postUser",
        "x-public-api": true,
        "parameters": [
          {
            "name": "x-api-version",
            "in": "header",
            "description": "7shifts API version",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "description": "An API version",
              "example": "2022-05-01"
            }
          },
          {
            "name": "x-company-guid",
            "in": "header",
            "description": "Company GUID",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "1310bfe1-cb3f-4f24-98a2-fde2bc504108"
          },
          {
            "name": "company_id",
            "in": "path",
            "description": "Company ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "first_name": {
                    "type": "string",
                    "description": "The user's first name"
                  },
                  "last_name": {
                    "type": "string",
                    "description": "The user's last name"
                  },
                  "preferred_first_name": {
                    "type": "string",
                    "description": "An optional alternate first name",
                    "nullable": true
                  },
                  "preferred_last_name": {
                    "type": "string",
                    "description": "An optional alternate last name",
                    "nullable": true
                  },
                  "location_ids": {
                    "type": "array",
                    "description": "An array of location IDs this user will be assigned to",
                    "items": {
                      "type": "integer"
                    }
                  },
                  "department_ids": {
                    "type": "array",
                    "nullable": true,
                    "description": "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",
                    "items": {
                      "type": "integer"
                    }
                  },
                  "role_ids": {
                    "description": "An array of role IDs this user will be assigned to.",
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "integer"
                    }
                  },
                  "email": {
                    "type": "string",
                    "description": "the user's email",
                    "example": "example@7shifts.com"
                  },
                  "mobile_number": {
                    "type": "string",
                    "description": "The user's mobile phone number. Format with no spaces and include area code",
                    "example": 3061234454,
                    "nullable": true
                  },
                  "home_number": {
                    "type": "string",
                    "description": "The user's home phone number. Format with no spaces and include area code",
                    "example": 3061234454,
                    "nullable": true
                  },
                  "address": {
                    "type": "string",
                    "description": "The user's address",
                    "nullable": true
                  },
                  "postal_zip": {
                    "type": "string",
                    "description": "The user's postal code or zip code",
                    "nullable": true
                  },
                  "city": {
                    "type": "string",
                    "description": "The user's city",
                    "nullable": true
                  },
                  "prov_state": {
                    "type": "string",
                    "description": "The user's province or state",
                    "nullable": true
                  },
                  "invite_user": {
                    "type": "boolean",
                    "description": "If true Invite the user to 7shifts",
                    "nullable": true
                  },
                  "notes": {
                    "type": "string",
                    "description": "Notes associated with this user",
                    "nullable": true
                  },
                  "hire_date": {
                    "type": "string",
                    "format": "date",
                    "description": "The hire date of this user. Format YYYY-MM-DD",
                    "example": "2017-05-20",
                    "nullable": true
                  },
                  "type": {
                    "type": "string",
                    "description": "The type of this user",
                    "enum": [
                      "employee",
                      "asst_manager",
                      "manager",
                      "employer"
                    ]
                  },
                  "employee_id": {
                    "type": "string",
                    "description": "Either an employee ID or an ID assigned by your payroll provider that is used in your payroll export",
                    "nullable": true
                  },
                  "punch_id": {
                    "type": "integer",
                    "description": "The punch ID they punch in/out with. If no value is provided a new one will be created",
                    "nullable": true
                  },
                  "birth_date": {
                    "type": "string",
                    "format": "date",
                    "description": "The user's birthdate. Format YYYY-MM-DD",
                    "example": "2017-07-21",
                    "nullable": true
                  },
                  "language": {
                    "type": "string",
                    "description": "The user's preferred language. Default value is en",
                    "enum": [
                      "en",
                      "es",
                      "fr"
                    ],
                    "default": "en"
                  },
                  "appear_as_employee": {
                    "type": "boolean",
                    "description": "User should appear in the system as an employee. Applies to admin users only",
                    "nullable": true
                  },
                  "subscribe_to_updates": {
                    "type": "boolean",
                    "description": "Subscribe this user to updates from 7shifts. This includes announcing new features for 7shifts",
                    "nullable": true
                  },
                  "max_weekly_hours": {
                    "type": "number",
                    "example": "40.5",
                    "description": "The maximum weekly hours this user is set to work",
                    "nullable": true
                  },
                  "skill_level": {
                    "type": "integer",
                    "enum": [
                      1,
                      2,
                      3
                    ],
                    "default": 2,
                    "nullable": true
                  },
                  "wage_cents": {
                    "type": "number",
                    "example": "2253",
                    "nullable": true
                  },
                  "wage_type": {
                    "description": "The wage type",
                    "type": "string",
                    "enum": [
                      "hourly",
                      "weekly_salary"
                    ],
                    "nullable": true
                  },
                  "wages": {
                    "type": "array",
                    "nullable": true,
                    "description": "An array of Wages that will be set to the assigned User's roles",
                    "items": {
                      "type": "object",
                      "properties": {
                        "role_id": {
                          "type": "integer",
                          "nullable": false
                        },
                        "wage_cents": {
                          "type": "integer",
                          "nullable": false
                        },
                        "effective_date": {
                          "type": "string",
                          "format": "date",
                          "example": "2020-01-01",
                          "nullable": true
                        }
                      }
                    }
                  },
                  "permissions_template_id": {
                    "type": "integer",
                    "nullable": true,
                    "description": "Id of a permissions template the user will be assigned to and granted permissions from."
                  }
                },
                "required": [
                  "first_name",
                  "last_name",
                  "location_ids",
                  "department_ids",
                  "type"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "enum": [
                        "user"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "User ID"
                        },
                        "identity_id": {
                          "type": "integer",
                          "description": "Internal use",
                          "nullable": true
                        },
                        "company_id": {
                          "type": "integer",
                          "description": "Company ID"
                        },
                        "first_name": {
                          "type": "string",
                          "description": "First Name",
                          "maxLength": 80
                        },
                        "last_name": {
                          "type": "string",
                          "description": "Last Name",
                          "maxLength": 80
                        },
                        "preferred_first_name": {
                          "type": "string",
                          "description": "Preferred first name",
                          "maxLength": 150,
                          "nullable": true
                        },
                        "preferred_last_name": {
                          "type": "string",
                          "maxLength": 150,
                          "description": "Preferred last name",
                          "nullable": true
                        },
                        "pronouns": {
                          "type": "string",
                          "description": "Pronouns",
                          "maxLength": 80,
                          "nullable": true
                        },
                        "email": {
                          "type": "string",
                          "maxLength": 155,
                          "description": "Email Address"
                        },
                        "mobile_number": {
                          "type": "string",
                          "description": "Mobile Number",
                          "nullable": true
                        },
                        "home_number": {
                          "type": "string",
                          "description": "Home Number",
                          "nullable": true
                        },
                        "birth_date": {
                          "type": "string",
                          "format": "date",
                          "description": "Birthdate. Format YYYY-MM-DD",
                          "nullable": true
                        },
                        "address": {
                          "type": "string",
                          "nullable": true,
                          "description": "Address",
                          "maxLength": 100
                        },
                        "postal_zip": {
                          "type": "string",
                          "description": "Zip or postal code",
                          "maxLength": 20,
                          "nullable": true
                        },
                        "city": {
                          "type": "string",
                          "description": "City",
                          "maxLength": 50,
                          "nullable": true
                        },
                        "prov_state": {
                          "type": "string",
                          "description": "State or province",
                          "maxLength": 25,
                          "nullable": true
                        },
                        "invite_status": {
                          "type": "string",
                          "description": "Invitation status to join 7shifts for the first time",
                          "enum": [
                            "accepted",
                            "pending",
                            "required",
                            "missing_contact_info"
                          ]
                        },
                        "active": {
                          "type": "boolean",
                          "description": "If true user is active in allowed to login. If false the user has been deactivated/deleted"
                        },
                        "photo": {
                          "type": "string",
                          "description": "Photo url",
                          "nullable": true
                        },
                        "notes": {
                          "type": "string",
                          "description": "User notes",
                          "nullable": true
                        },
                        "timezone": {
                          "type": "string",
                          "description": "Timezone.  Valid zone info name",
                          "example": "America/Chicago",
                          "nullable": true
                        },
                        "type": {
                          "type": "string",
                          "description": "User type",
                          "enum": [
                            "employee",
                            "asst_manager",
                            "manager",
                            "employer"
                          ]
                        },
                        "employee_id": {
                          "type": "string",
                          "description": "Employee ID",
                          "maxLength": 190,
                          "nullable": true
                        },
                        "max_weekly_hours": {
                          "type": "string",
                          "description": "Maximum weekly hours user is set to work"
                        },
                        "punch_id": {
                          "type": "string",
                          "description": "Value used during clock in/out in 7shifts applications",
                          "maxLength": 40,
                          "nullable": true
                        },
                        "created": {
                          "type": "string"
                        },
                        "modified": {
                          "type": "string"
                        },
                        "invited": {
                          "type": "string",
                          "description": "The date that the user has been sent an invitation to join 7shifts, null if not invited.",
                          "nullable": true
                        },
                        "invite_accepted": {
                          "type": "string",
                          "description": "The date that the user accepted their 7shifts invitation, null if not accepted.",
                          "nullable": true
                        },
                        "is_new": {
                          "type": "boolean",
                          "description": "If true user is new"
                        },
                        "appear_as_employee": {
                          "type": "boolean",
                          "description": "If true user can be assigned shifts. This applies to managers, asst_manager and employers."
                        },
                        "subscribe_to_updates": {
                          "type": "boolean",
                          "description": "If true this user is subscribed to updates from 7shifts. This includes announcing new features for 7shifts"
                        },
                        "language": {
                          "type": "string",
                          "description": "Specified language. In ISO 639-1 format",
                          "example": "en"
                        },
                        "push": {
                          "type": "boolean",
                          "description": "Are mobile push notifications enabled for the user"
                        },
                        "skill_level": {
                          "type": "integer",
                          "description": "Current assigned skill level",
                          "example": 2,
                          "nullable": true
                        },
                        "hourly_wage": {
                          "type": "integer",
                          "description": "Users current hourly wage in cents",
                          "nullable": true
                        },
                        "wage_type": {
                          "type": "string",
                          "description": "The type of wage the user will receive",
                          "example": "salary",
                          "nullable": true
                        },
                        "sms_me_schedules": {
                          "type": "boolean",
                          "description": "If the user should receive sms notifications for shifts",
                          "nullable": true
                        },
                        "notify_ot_risk": {
                          "type": "boolean",
                          "description": "Should notifications be sent if the user is at risk of overtime hours",
                          "nullable": true
                        },
                        "permissions_template_id": {
                          "nullable": true,
                          "type": "integer",
                          "description": "The ID of the permission template currently assigned to the user."
                        },
                        "reactivation_status": {
                          "type": "string",
                          "description": "Invitation status to re-join 7shifts after initially being deactivated",
                          "enum": [
                            "accepted",
                            "pending",
                            "expired"
                          ],
                          "nullable": true
                        },
                        "meta": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "readonly_fields": {
                              "nullable": false,
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "identity_status": {
                              "type": "string",
                              "nullable": true,
                              "enum": [
                                "created",
                                "updated",
                                "merging_identities"
                              ],
                              "description": "Indicates whether an identity was created, updated, or lead to an Identity merge from the preceding request"
                            }
                          }
                        }
                      },
                      "required": [
                        "id",
                        "company_id",
                        "first_name",
                        "photo",
                        "active",
                        "last_name",
                        "email",
                        "mobile_number",
                        "home_number",
                        "birth_date",
                        "address",
                        "postal_zip",
                        "city",
                        "prov_state",
                        "invite_status",
                        "last_login",
                        "notes",
                        "timezone",
                        "type",
                        "punch_id",
                        "employee_id",
                        "max_weekly_hours",
                        "invited",
                        "invite_accepted",
                        "is_new"
                      ]
                    }
                  },
                  "required": [
                    "object",
                    "data"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "400": {
                    "summary": "An example of a 400 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Bad Request error message",
                      "status": 400,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 400,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "401": {
                    "summary": "An example of a 401 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Unauthorized error message",
                      "status": 401,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 401,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "403": {
                    "summary": "An example of a 403 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Forbidden error message",
                      "status": 403,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 403,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "404": {
                    "summary": "An example of a 404 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a No found error message",
                      "status": 404,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 404,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "422": {
                    "summary": "An example of a 422 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Unprocessable Entity error message",
                      "status": 422,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 422,
                      "param": "param"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The primary identifier for the problem type (URI reference)."
                    },
                    "title": {
                      "type": "string",
                      "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    },
                    "detail": {
                      "type": "string",
                      "description": "A human-readable explanation specific to this occurrence of the problem."
                    },
                    "code": {
                      "type": "integer",
                      "description": "The error code can be used to look up the reason why the request failed."
                    },
                    "param": {
                      "type": "string",
                      "description": "The request parameter that this error is related to."
                    }
                  },
                  "required": [
                    "type",
                    "title",
                    "status",
                    "detail"
                  ]
                },
                "examples": {
                  "500": {
                    "summary": "An example of a 500 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Server error message",
                      "status": 500,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 500,
                      "param": "param"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://app.7shifts.com/oauth2/token",
            "refreshUrl": "https://app.7shifts.com/oauth2/token",
            "scopes": {
              "v1_access": "Required to access APIv1 endpoints."
            }
          },
          "password": {
            "tokenUrl": "https://app.7shifts.com/oauth2/token",
            "refreshUrl": "https://app.7shifts.com/oauth2/token",
            "scopes": {
              "v1_access": "Required to access APIv1 endpoints."
            }
          },
          "authorizationCode": {
            "authorizationUrl": "https://app.7shifts.com/oauth2/authorize",
            "tokenUrl": "https://app.7shifts.com/oauth2/token",
            "refreshUrl": "https://app.7shifts.com/oauth2/token",
            "scopes": {
              "v1_access": "Required to access APIv1 endpoints."
            }
          }
        }
      },
      "cookieAuth": {
        "type": "apiKey",
        "in": "cookie",
        "name": "7session"
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    },
    {
      "cookieAuth": []
    }
  ],
  "tags": [
    {
      "name": "Users"
    }
  ]
}
```