Create team
post
https://api.intelig.ai/api/v1/intelig/teams
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: createTeam
Creates a new team with an optional list of contributor IDs
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/teams" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Platform Engineering",
"contributorIds": [
1,
2,
5
]
}' Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | Team name Example: Platform Engineering |
contributorIds | integer[] | no | List of contributor IDs to add as team members Example: [1,2,5] |
Response 200
application/json · ApiResponseTeamDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | TeamDto | Team details with members |
Status codes
200— Team created successfully400— Invalid request body or duplicate team name401— Not authenticated403— Insufficient permissions to access code intelligence pillar429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.