---
title: "Put my own Fantacalcio lineup on record for this matchweek"
method: POST
path: "/v1/fantasy/fantacalcio/me/lineup"
tags: ["fantasy"]
---

# Put my own Fantacalcio lineup on record for this matchweek

`POST /v1/fantasy/fantacalcio/me/lineup`

## Request

- Base URL: `https://api.predixsport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.predixsport.com/v1/fantasy/fantacalcio/me/lineup`
- Auth: none declared

Records the eleven and the bench ORDER you actually set in your league, which may differ from ours. It is the pitch editor of the web workspace behind one call. Send every player in the recommendation exactly once, eleven as starters and the rest in the order you want them substituted in. The eleven must form a valid Classic formation with exactly one keeper. The bench order is scored, so it is not cosmetic. `snapshot_id` must be the latest recommendation for the matchweek, and the matchweek must still be open: once the first match starts the lineup on record can no longer be edited. This records your decision on Predixsport. It never signs in to any fantasy platform and never submits the lineup for you. Requires mcp:read and fantasy:fantacalcio:write. The Fantacalcio workspace is in a private beta: this endpoint answers 403 for an account outside it.

## Headers

- `authorization` string, nullable

## Request body

- FantacalcioLineupRequest
  - `snapshot_id` integer, required
  - `starters` string[], required
  - `bench_order` string[], required: Every other player in the advice, in the order you want them substituted in. The order is scored, so it is not cosmetic.

## Response `200`

Successful Response

- FantacalcioLineupResponse
  - `sport` 'fantacalcio'
  - `snapshot_id` integer, required
  - `season` string, required
  - `giornata` integer, required
  - `changed` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/predixsport/apis/predixsport-api.md) · [All operations](https://skmtc.dev/predixsport/apis/predixsport-api/llms.txt) · [OpenAPI document](https://skmtc.dev/predixsport/apis/predixsport-api/revisions/02014aee733d?raw)
