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

# Create User Wage

**[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/{user_id}/wages": {
      "post": {
        "tags": [
          "User Wages"
        ],
        "summary": "Create User Wage",
        "operationId": "createUserWages",
        "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"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "description": "User ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "effective_date": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "description": "A date with YYYY-MM-DD format",
                    "example": "2020-01-01"
                  },
                  "role_id": {
                    "description": "Role ID",
                    "type": "integer"
                  },
                  "wage_type": {
                    "description": "The wage type",
                    "type": "string",
                    "enum": [
                      "hourly",
                      "weekly_salary",
                      "annual_salary"
                    ]
                  },
                  "wage_cents": {
                    "description": "The wage value. In cents",
                    "type": "integer"
                  },
                  "enabled_days": {
                    "description": "Days of the week when the wage is applicable (optional, defaults to all days). Days keyed by full name (Sunday-Saturday).",
                    "type": "object",
                    "nullable": true,
                    "additionalProperties": {
                      "type": "boolean"
                    },
                    "example": {
                      "Sunday": true,
                      "Monday": true,
                      "Tuesday": true,
                      "Wednesday": true,
                      "Thursday": true,
                      "Friday": true,
                      "Saturday": false
                    }
                  },
                  "allocations": {
                    "description": "Salary allocation breakdown by location. Only applicable for salary wage types. All amount_tenths values must sum to 1000.",
                    "type": "array",
                    "nullable": true,
                    "items": {
                      "type": "object",
                      "required": [
                        "location_id",
                        "amount_tenths"
                      ],
                      "properties": {
                        "location_id": {
                          "type": "integer",
                          "description": "Location ID"
                        },
                        "amount_tenths": {
                          "type": "integer",
                          "description": "Allocation amount in tenths of a percent (1–1000). All entries must sum to 1000.",
                          "minimum": 1,
                          "maximum": 1000
                        }
                      }
                    }
                  }
                },
                "required": [
                  "effective_date",
                  "wage_type",
                  "wage_cents"
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Wage created",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "object": {
                      "type": "string",
                      "enum": [
                        "user_wage"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "description": "Wage ID",
                          "type": "integer"
                        },
                        "effective_date": {
                          "description": "The wage effective date. Format YYYY-MM-DD",
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                          "example": "2020-01-01"
                        },
                        "role_id": {
                          "description": "Role ID",
                          "type": "integer",
                          "nullable": true
                        },
                        "wage_type": {
                          "description": "The wage type",
                          "type": "string",
                          "enum": [
                            "hourly",
                            "weekly_salary",
                            "annual_salary"
                          ]
                        },
                        "wage_cents": {
                          "description": "The wage value. In cents",
                          "type": "integer"
                        },
                        "enabled_days": {
                          "description": "Days of the week when the wage is applicable. All days keyed by full name (Sunday-Saturday).",
                          "type": "object",
                          "nullable": true,
                          "required": [
                            "Sunday",
                            "Monday",
                            "Tuesday",
                            "Wednesday",
                            "Thursday",
                            "Friday",
                            "Saturday"
                          ],
                          "properties": {
                            "Sunday": {
                              "type": "boolean"
                            },
                            "Monday": {
                              "type": "boolean"
                            },
                            "Tuesday": {
                              "type": "boolean"
                            },
                            "Wednesday": {
                              "type": "boolean"
                            },
                            "Thursday": {
                              "type": "boolean"
                            },
                            "Friday": {
                              "type": "boolean"
                            },
                            "Saturday": {
                              "type": "boolean"
                            }
                          },
                          "example": {
                            "Sunday": true,
                            "Monday": true,
                            "Tuesday": true,
                            "Wednesday": true,
                            "Thursday": true,
                            "Friday": true,
                            "Saturday": false
                          }
                        },
                        "allocations": {
                          "description": "Salary allocation breakdown by location. Only applicable for salary wage types. All amount_tenths values must sum to 1000.",
                          "type": "array",
                          "nullable": true,
                          "items": {
                            "type": "object",
                            "required": [
                              "location_id",
                              "amount_tenths"
                            ],
                            "properties": {
                              "location_id": {
                                "type": "integer",
                                "description": "Location ID"
                              },
                              "amount_tenths": {
                                "type": "integer",
                                "description": "Allocation amount in tenths of a percent (1–1000). All entries must sum to 1000.",
                                "minimum": 1,
                                "maximum": 1000
                              }
                            }
                          }
                        },
                        "created": {
                          "description": "The created date and time of the wage. Formatted as ISO8601 datetime in UTC timezone.",
                          "type": "string",
                          "format": "date-time",
                          "example": "2020-01-20T12:00:00.000Z"
                        },
                        "modified": {
                          "description": "The modified date and time of the wage. Formatted as ISO8601 datetime in UTC timezone.",
                          "type": "string",
                          "format": "date-time",
                          "example": "2020-01-20T12:00:00.000Z"
                        }
                      },
                      "required": [
                        "id",
                        "effective_date",
                        "role_id",
                        "wage_type",
                        "wage_cents",
                        "created",
                        "modified"
                      ]
                    }
                  },
                  "required": [
                    "object",
                    "data"
                  ]
                }
              }
            }
          },
          "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"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "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": {
                  "409": {
                    "summary": "An example of a 409 response",
                    "value": {
                      "type": "basic",
                      "title": "This is a Conflict error message",
                      "status": 409,
                      "detail": "A human-readable explanation specific to this occurrence of the problem.",
                      "code": 409,
                      "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": "User Wages"
    }
  ]
}
```