---
title: "Add user to groups"
method: POST
path: "/group/access"
tags: ["group access"]
---

# Add user to groups

`POST /group/access`

## Request

- Base URL: `https://public.stonly.com/api/v3`
- URL: `https://public.stonly.com/api/v3/group/access`
- Auth: HTTP basic

Adds a user to one or more specified groups.

## Query parameters

- `teamId` integer

## Request body

- Access
  - `email` Schema, required (unresolved $ref)
  - `groups` object[], required
    - `groupId` Schema (unresolved $ref)

## Response `201`

User added to groups successfully.

## Other responses

- `default`: Standard error response.

---

[API](https://skmtc.dev/stonly/apis/stonly-public-api.md) - [All operations](https://skmtc.dev/stonly/apis/stonly-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stonly/apis/stonly-public-api/revisions/4ba5b03a634a?raw)
