---
title: "Create a new track."
method: POST
path: "/tracks"
tags: ["Tracks"]
---

# Create a new track.

`POST /tracks`

Create a new track.

## Request body

- TrackCreateJson — unresolved $ref

## Response `201`

The entity was created.

## Other responses

- `400` — The request was malformed.
- `401` — Authentication information is missing or invalid
- `403` — The operation is not allowed by current user.
- `451` — The operation requires acceptance of the terms of use and privacy statement.
- `5XX` — An internal server error occurred.

## Changes

- **2021-12-14** `41dac4f34d9e` — 2 warning, 4 info
  - deleted the `header` request parameter `Accept-Privacy-Statement`
  - deleted the `header` request parameter `Accept-Terms-Of-Use`
  - the endpoint scheme security `basicAuth` was added to the API
  - api tag `Tracks` added
  - …2 more
- **2021-12-07** `9e60f373a1f0` — 2 breaking, 6 warning, 4 info
  - added the new required `header` request parameter `Accept-Privacy-Statement`
  - added the new required `header` request parameter `Accept-Terms-Of-Use`
  - the optional response header `Link` removed for the status `201`
  - the optional response header `Link` removed for the status `400`
  - …8 more

[Change history](https://skmtc.dev/envirocar/apis/envirocar-rest-api/changes/tracks/post.md)

---

[API](https://skmtc.dev/envirocar/apis/envirocar-rest-api.md) · [All operations](https://skmtc.dev/envirocar/apis/envirocar-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/envirocar/envirocar-rest-api/revisions/c647cca2f102/schema)
