---
title: "POST /api/timeline"
method: POST
path: "/api/timeline"
tags: ["/api/timeline"]
---

# POST /api/timeline

`POST /api/timeline`

Create a new [[Timeline]].

## Request body

- object
  - `archived` boolean, nullable
  - `collection_id` integer, nullable — value must be an integer greater than zero.
  - `default` boolean, nullable
  - `description` string, nullable
  - `icon` 'star' | 'cake' | 'mail' | 'warning' | 'bell' | 'cloud', nullable
  - `name` string, required

## Response `2XX`

Successful response

- MetabaseTimelineApiTimelineTimeline
  - `id` integer, required

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
