Skip to content

Create a group

Creates a group in a project. Omit parentId (or send null) for a top-level group. The technical name must be unique among siblings under the same parent.

POST /api/v1/projects/{id}/groups

AuthRequired
Query parametersNone
NameTypeDescription
idstringProject id
Authorization: Bearer <your-api-key>
Content-Type: application/json
{
"technicalName": "footer",
"displayName": "Footer",
"parentId": "clgroup0123456789abcdefg"
}
FieldTypeRequiredDescription
technicalNamestringyesMachine-readable name (camelCase-style)
displayNamestringyesHuman-readable label
parentIdstring | nullnoParent group id; omit/null for root
Terminal window
curl -sS https://collingo.app/api/v1/projects/clproj0123456789abcdefgh/groups \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"technicalName": "footer",
"displayName": "Footer",
"parentId": null
}'
{
"id": "clgroupaaaaaaaaaaaaaaaaaa",
"projectId": "clproj0123456789abcdefgh",
"parentId": null,
"technicalName": "footer",
"displayName": "Footer",
"createdAt": "2026-07-01T12:10:00Z"
}
StatusWhen
400Validation or hierarchy limit
401Missing or invalid API key (ERR_UNAUTHORIZED)
403Insufficient role (ERR_FORBIDDEN)
404Project or parent not found
409Duplicate technical name (ERR_CONFLICT)
500Database or internal error