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

# POST /api/bundle/

`POST /api/bundle/`

Create a bundle.

## Headers

- `X-Fields` string, mask

## Request body

- Bundle
  - `uuid` string — Bundle id.
  - `vulnerability_lookup_origin` string — Bundle id.
  - `name` string — Bundle id.
  - `description` string — Description.
  - `creation_timestamp` string, date-time — Updated time of the bundle.
  - `timestamp` string, date-time — Updated time of the bundle.
  - `related_vulnerabilities` string[] — One or more vulnerability references (CVE ID, GHSA-ID, PYSEC ID, etc.) for this bundle.
  - `meta` object — Zero or more meta-fields.
  - `author` User
    - `login` string — Login of the user.
    - `name` string — Name of the user.

## Response `201`

Success.

- BundlesList[]
  - `metadata` Metadata
    - `count` integer — Total number of the items of the data.
    - `offset` integer — Position of the first element of the data from the total data amount.
    - `limit` integer — Requested limit data.
  - `data` Bundle[] — List of bundles.
    - `uuid` string — Bundle id.
    - `vulnerability_lookup_origin` string — Bundle id.
    - `name` string — Bundle id.
    - `description` string — Description.
    - `creation_timestamp` string, date-time — Updated time of the bundle.
    - `timestamp` string, date-time — Updated time of the bundle.
    - `related_vulnerabilities` string[] — One or more vulnerability references (CVE ID, GHSA-ID, PYSEC ID, etc.) for this bundle.
    - `meta` object — Zero or more meta-fields.
    - `author` User
      - `login` string — Login of the user.
      - `name` string — Name of the user.

## Other responses

- `400` — JSON validation failed or incorrect payload to instantiate a bundle.
- `403` — Administrator permission required.

## Changes

- **2024-07-09** `c6312aaa7715` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api/changes/api/bundle/post.md)

---

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