---
title: "Create Client Group"
method: POST
path: "/clients/group/participants"
tags: ["Client Group"]
---

# Create Client Group

`POST /clients/group/participants`

Creates a group with the given Clients. If any Clients are already in a group, they will be removed from their existing group and added to the new group.

## Headers

- `x-api-key` string, required

## Request body

- RequestGroup
  - `group_participants` PutGroup[]
    - `group_participant_client_id` integer
    - `group_role_id` integer

## Response `200`

Returns the Group data of the newly created Group.

- ResponseGroup
  - `client_group` ClientGroup — All clients in a group
    - `group_id` integer — Id of the Group
    - `group_participants` GroupParticipants[] — List of participants and the role in the group
      - `group_participant_client_id` integer — The Client Id of the Group Participant
      - `group_participant_name` string — Name of the Client in the Group
      - `group_role_id` integer — Participant Type of the Client in the Group (Id)
      - `group_role` string — Participant Type of the Client in the Group

---

[API](https://skmtc.net/wodify/apis/leads.md) · [All operations](https://skmtc.net/wodify/apis/leads/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wodify/leads/versions/974500ca0714/schema)
