Skip to main content

Overview

Teams are organizational units within an organization that help organize users, interviews, candidates, and other resources. You can create teams, list teams, get team details, and update team branding settings.

Create Teams

Create one or more teams in bulk. Optionally add users to teams during creation. Endpoint: POST /qsi/gather/teams
curl -X POST https://api.prod.qualifi.hr/qsi/gather/teams \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "teams": [
      {
        "name": "Engineering Team",
        "displayName": "Engineering",
        "description": "Engineering and development team"
      }
    ]
  }'
{
  "teams": [
    {
      "name": "Engineering Team",
      "displayName": "Engineering",
      "description": "Engineering and development team",
      "userIds": ["user-uuid-1", "user-uuid-2"]
    },
    {
      "name": "Sales Team",
      "displayName": "Sales",
      "description": "Sales and business development team"
    }
  ]
}

List Teams

Retrieve a list of teams in your organization. Optionally filter by userId to get only teams that a specific user belongs to. Endpoint: GET /qsi/gather/teams
userId
string
Filter teams to only those the user belongs to
curl -X GET "https://api.prod.qualifi.hr/qsi/gather/teams?userId=user-uuid" \
  -H "x-api-key: ${API_KEY}"
{
  "data": {
    "teams": [
      {
        "id": "team-uuid-1",
        "name": "Engineering Team",
        "displayName": "Engineering",
        "description": "Engineering and development team",
        "logoUrl": "https://example.com/logo.png",
        "accentColor": "482eeb",
        "buttonColor": "ffffff",
        "backgroundImage": "https://example.com/background.jpg",
        "organizationId": "org-uuid",
        "createdAt": "2024-01-01T00:00:00Z",
        "updatedAt": "2024-01-01T00:00:00Z",
        "archivedAt": null
      },
      {
        "id": "team-uuid-2",
        "name": "Sales Team",
        "displayName": "Sales",
        "description": null,
        "logoUrl": null,
        "accentColor": null,
        "buttonColor": null,
        "backgroundImage": null,
        "organizationId": "org-uuid",
        "createdAt": "2024-01-01T00:00:00Z",
        "updatedAt": "2024-01-01T00:00:00Z",
        "archivedAt": null
      }
    ]
  },
  "meta": {
    "requestId": "uuid",
    "timestamp": "2024-01-01T00:00:00Z"
  }
}

Get Team

Retrieve a single team by its ID. The team must belong to your organization. Endpoint: GET /qsi/gather/teams/{teamId}
teamId
string
required
UUID of the team
curl -X GET https://api.prod.qualifi.hr/qsi/gather/teams/{teamId} \
  -H "x-api-key: ${API_KEY}"
{
  "data": {
    "team": {
      "id": "team-uuid",
      "name": "Engineering Team",
      "displayName": "Engineering",
      "description": "Engineering and development team",
      "logoUrl": "https://example.com/logo.png",
      "accentColor": "482eeb",
      "buttonColor": "ffffff",
      "backgroundImage": "https://example.com/background.jpg",
      "organizationId": "org-uuid",
      "createdAt": "2024-01-01T00:00:00Z",
      "updatedAt": "2024-01-01T00:00:00Z",
      "archivedAt": null
    }
  },
  "meta": {
    "requestId": "uuid",
    "timestamp": "2024-01-01T00:00:00Z"
  }
}

Update Team Branding

Update branding settings for a team including colors, logo, background image, and display name. Endpoint: PATCH /qsi/gather/teams/{teamId}/branding
teamId
string
required
UUID of the team
curl -X PATCH https://api.prod.qualifi.hr/qsi/gather/teams/{teamId}/branding \
  -H "x-api-key: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "accentColor": "482eeb",
    "teamButtonColor": "ffffff"
  }'
{
  "accentColor": "482eeb",
  "teamButtonColor": "ffffff",
  "teamBackgroundImage": "https://example.com/background.jpg",
  "logoUrl": "https://example.com/logo.png",
  "displayName": "Engineering Team",
  "description": "Updated description"
}

Branding Colors

Team branding colors should be provided as hex codes without the # prefix:
  • "482eeb" (correct)
  • "#482eeb" (incorrect)