---
title: "Generate New Id"
method: POST
path: "/v2/storage/tickets/"
tags: ["Tickets"]
deprecated: true
---

# Generate New Id

`POST /v2/storage/tickets/`

## Request

- Base URL: `https://connection.keboola.com`
- URL: `https://connection.keboola.com/v2/storage/tickets/`
- Auth: one of:
  - API key in header `X-StorageApi-Token`
  - API key in header `X-KBC-ManageApiToken`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/keboola/apis/keboola-storage-api/docs/v2/storage/tickets/post~2.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Tickets are unique sequential 64 bit IDs. Tickets are used to generate unique run identifiers for all components using Keboola Connection.

## Response `200`

New ticket ID.

- GenerateNewIdResponse
  - `id` string, required: New unique sequential 64 bit ID, returned as a string.

---

[API](https://skmtc.dev/keboola/apis/keboola-storage-api.md) - [All operations](https://skmtc.dev/keboola/apis/keboola-storage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/keboola/apis/keboola-storage-api/revisions/34b5ceac0317?raw)
