---
title: "Create a counterparty group"
method: POST
path: "/counterparty_groups"
tags: ["Compliance"]
---

# Create a counterparty group

`POST /counterparty_groups`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/counterparty_groups`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/counterparty_groups/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new counterparty group.

**Endpoint Permissions:** Admin, Non-Signing Admin.

## Headers

- `Idempotency-Key` string

## Request body

- CreateCounterpartyGroupRequest: Request body for creating a new counterparty group
  - `name` string, required: Human-readable name of the group
  - `jurisdictionCodes` string[], required: List of jurisdiction codes to associate with the group
  - `description` string: Optional description of the group

## Response `201`

Counterparty group created successfully

- CounterpartyGroup: A counterparty group used to classify counterparties for compliance and routing purposes
  - `groupId` string, uuid, required: Unique identifier of the counterparty group
  - `name` string, required: Human-readable name of the group
  - `description` string: Optional description of the group
  - `jurisdictionCodes` string[]: List of jurisdiction codes associated with the group
  - `isActive` boolean, required: Whether the counterparty group is currently active
  - `createdAt` string, date-time, required: ISO 8601 timestamp when the group was created
  - `updatedAt` string, date-time, required: ISO 8601 timestamp when the group was last updated

## Other responses

- `default`: Error Response

---

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