---
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`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/internal/assignee_groups/batch`
- Auth: none required

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.dev/paymongo/apis/onboarding-api.md) - [All operations](https://skmtc.dev/paymongo/apis/onboarding-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/onboarding-api/revisions/36885f98768f?raw)
