Groups
Create group
Groups
Create group
Create a new group
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
Body
application/json
Group to create
The body is of type object
.
Response
201 - application/json
Created group
The response is of type object
.
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
}