---
title: "Assign a User to a Group"
method: POST
path: "/api/v1/groups/{GroupID}/users"
---

# Assign a User to a Group

`POST /api/v1/groups/{GroupID}/users`

## Request

- Base URL: `https://app.workramp.com`
- URL: `https://app.workramp.com/api/v1/groups/{GroupID}/users`
- Auth: API key in header `Authorization`

Get all groups within the enterprise

## Path parameters

- `GroupID` string, required

## Request body

- object
  - `userId` integer, required: id of the user you want to assign to a group
  - `startDate` string, date-time: Unix time in milliseconds representing the start date of the user. This date is used to calculate the due date when assigning guides/series through group automations

## Response `200`

200

- boolean

---

[API](https://skmtc.dev/workramp/apis/json-api.md) - [All operations](https://skmtc.dev/workramp/apis/json-api/llms.txt) - [OpenAPI document](https://skmtc.dev/workramp/apis/json-api/revisions/2cb77bf12793?raw)
