---
title: "Bundle the given AsyncAPI document(s)."
method: POST
path: "/bundle"
tags: ["bundle", "bundler"]
---

# Bundle the given AsyncAPI document(s).

`POST /bundle`

## Request body

- BundleRequest
  - `asyncapis` AsyncAPIDocument[], required — AsyncAPI documents in JSON or YAML.
    - union — AsyncAPI document in JSON or YAML.
      - string
      - 200Json — unresolved $ref
      - 210Json — unresolved $ref
      - 220Json — unresolved $ref
      - 230Json — unresolved $ref
      - 240Json — unresolved $ref
      - 250Json — unresolved $ref
      - 260Json — unresolved $ref
      - 300Json — unresolved $ref
      - 310Json — unresolved $ref
  - `base` union — AsyncAPI document in JSON or YAML.
    - string
    - 200Json — unresolved $ref
    - 210Json — unresolved $ref
    - 220Json — unresolved $ref
    - 230Json — unresolved $ref
    - 240Json — unresolved $ref
    - 250Json — unresolved $ref
    - 260Json — unresolved $ref
    - 300Json — unresolved $ref
    - 310Json — unresolved $ref

## Response `200`

AsyncAPI document(s) successfully bundled.

- BundleResponse
  - `bundled` union, required — AsyncAPI document in JSON or YAML.
    - string
    - 200Json — unresolved $ref
    - 210Json — unresolved $ref
    - 220Json — unresolved $ref
    - 230Json — unresolved $ref
    - 240Json — unresolved $ref
    - 250Json — unresolved $ref
    - 260Json — unresolved $ref
    - 300Json — unresolved $ref
    - 310Json — unresolved $ref

## Other responses

- `400` — The given AsyncAPI document(s) is/are not valid.
- `422` — The given AsyncAPI document(s) is/are not valid due to invalid parameters in the request.
- `default` — Unexpected problem.

## Changes

- **2026-07-17** `4e4c84b02d25` — 1 breaking, 2 info
  - added `#/components/schemas/3.1.0.json` to the `bundled` response property `oneOf` list for the response status `200`
  - added `#/components/schemas/3.1.0.json` to the `asyncapis/items/` request property `oneOf` list
  - added `#/components/schemas/3.1.0.json` to the `base` request property `oneOf` list
- **2025-08-19** `077e00451e07` — 2 breaking, 1 info
  - removed `#/components/schemas/3.1.0.json` from the `asyncapis/items/` request property `oneOf` list
  - removed `#/components/schemas/3.1.0.json` from the `base` request property `oneOf` list
  - removed `#/components/schemas/3.1.0.json` from the `bundled` response property `oneOf` list for the response status `200`

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

---

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