---
title: "Batch create assignee groups"
method: POST
path: "/v1/internal/assignee_groups/batch"
tags: ["assignee-groups"]
---

# Batch create assignee groups

`POST /v1/internal/assignee_groups/batch`

Creates multiple assignee groups in one request. Useful for importing groups with members.

## Request body

- BatchCreateAssigneeGroupsReqDTO
  - `groups` BatchCreateGroupItemDTO[], required
    - `description` string
    - `external_id` string
    - `members` string[]
    - `name` string, required

## Response `200`

OK

- object — Standard response containing data and its metadata if any
  - `data` BatchCreateAssigneeGroupsResDTO
    - `failed_count` integer
    - `results` BatchCreateGroupResultDTO[]
      - `error` string
      - `group_id` string
      - `name` string
      - `success` boolean
    - `success_count` integer
    - `total_groups` integer
  - `has_more` boolean

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/revisions/c18f9a027b2c/schema)
