Skip to main content
POST
Create a prompt group

Authorizations

x-chatobserver-key
string
header
required

A workspace API key. Data endpoints require a service-account key with the specified scopes.

Headers

Idempotency-Key
string

Required for MCP writes. Reuse for retries only. Membership requests require the same UUID in the body and this header.

Maximum string length: 255

Body

application/json
name
string
required
Required string length: 1 - 150
description
string | null
Maximum string length: 2000
colorHex
string | null
Pattern: ^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$
groupType
enum<string> | null
Available options:
funnel_stage,
intent,
brand,
product,
audience,
geography,
campaign,
custom
parentGroupId
integer | null
Required range: 0 < x <= 9007199254740991

Response

Successful group operation.

data
object
required