Skip to content

Create a group ​

Create a profile group with the given name.

Definition: POST · Checked on 2026-10-21.

Request ​

http
POST /api/addGroup

Use the base URL and api-key shown on the client API screen. All examples use 9000 only as a placeholder port; see Overview for authentication.

JSON body ​

FieldTypeRequiredDescription
namestringNoSupply a nonempty name; omitted or empty names are generated automatically

cURL example ​

bash
curl --request POST 'http://127.0.0.1:9000/api/addGroup' \
  --header 'api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "name123"
}'

Response example ​

json
{
  "success": true
}

Current client response fields ​

FieldTypeUsage
successbooleanRequest processing succeeded; not a guarantee that every item was written

Usage notes ​

  • The response only contains success. Call Get groups afterward if you need the new group ID.

For failed requests, check both HTTP status and the error body. See Errors & troubleshooting.

The current implementation accepts an omitted or empty name and generates a default group name; a nonempty string is recommended. The response does not directly return the new ID.