POST
/
groups
curl --request POST \
  --url https://cookiechimp.com/api/v1/groups \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "external_id": "<string>",
  "max_pageviews_per_month": 123
}'
{
  "id": "abc123",
  "name": "Example Ltd",
  "external_id": "ABC_123",
  "partner": "partner_one",
  "max_pageviews_per_month": 500000
}

Authorizations

Authorization
string
header
required

Body

application/json
Group to create
name
string
required

Name of the group

external_id
string
required

External ID set by the partner

max_pageviews_per_month
integer
required

Maximum number of pageviews per month

Response

201 - application/json
Created group
name
string
required

Name of the group

external_id
string
required

External ID set by the partner

max_pageviews_per_month
integer
required

Maximum number of pageviews per month

id
string

Unique identifier for the group