Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Returning the created Customer Group
curl --request POST \
--url https://api.mijnklantportaal.nl/v1/customer-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Hosting customers",
"customers": [
"cst_abc12345"
]
}'{
"id": "cug_abc12345def678",
"name": "Webhosting customers",
"createdAt": "2025-07-27T14:42:00+02:00"
}Create a new Customer Group
curl --request POST \
--url https://api.mijnklantportaal.nl/v1/customer-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Hosting customers",
"customers": [
"cst_abc12345"
]
}'{
"id": "cug_abc12345def678",
"name": "Webhosting customers",
"createdAt": "2025-07-27T14:42:00+02:00"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returning the created Customer Group