---
title: "Get team official lineup"
method: GET
path: "/api/teams/{id}/lineup"
tags: ["Teams"]
---

# Get team official lineup

`GET /api/teams/{id}/lineup`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/teams/{id}/lineup`
- Auth: none required

Public official lineup for the lineup builder (#847). { teamId, presetKey, assignments: [{ slotKey, playerId }], source: official|derived, updatedAt: ISO-8601|null, rosterVerifiedByClubAt: ISO-8601|null }. Club-saved rows win; without one the starters derive from the active roster. Stored assignments for departed players are dropped. presetKey/slotKey are opaque native-owned strings. 404 for unknown teams.

## Path parameters

- `id` string, required

## Response `200`

{ success, data: { teamId, presetKey, assignments, source, updatedAt, rosterVerifiedByClubAt } }

## Other responses

- `400`: VALIDATION_ERROR
- `404`: Team not found

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/teams/:id/lineup/get.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
