Skip to main content
POST
Create a group
Dashboard session only. API keys cannot call this operation.

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Headers

Idempotency-Key
string

Optional key (1-255 printable ASCII characters, no spaces; a UUID is ideal) that makes this POST safe to retry: the same key with the same request replays the stored response for 24 hours. See Idempotency.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]{1,255}$

Body

application/json

New group.

name
string
required

Name, unique among active groups (1-80 characters).

Required string length: 1 - 80
description
string | null

Description (at most 500 characters).

Maximum string length: 500
permissions
string[]

Permissions (at most 100); you can grant only permissions you hold.

Maximum array length: 100

A permission (role) key such as view-consumer-catalog or create-consumer-redemptions. See Permissions and scopes and GET /partner/v1/permissions.

Pattern: ^[a-z][a-z0-9-]*$
memberIds
integer<uint64>[]

Membership ids to add (at most 500); not your own.

Maximum array length: 500

Unsigned 64-bit integer (ids and large counters). May exceed 2^53; parse with a BigInt-safe JSON parser in JavaScript.

Required range: 0 <= x <= 18446744073709552000

Response

Created

Single-object envelope around a Group.

data
object
required

A group of members with its permissions.