---
title: Subscribe users to topic (bulk)
full: true
_openapi:
  method: POST
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Subscribe multiple users to a topic in a single request.


          - Topics are created automatically if they don't exist.

          - If a user is already subscribed, they are included in the
          `successful` response.

          - Returns `207 Multi-Status` if some subscriptions failed.
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Subscribe multiple users to a topic in a single request.

- Topics are created automatically if they don't exist.
- If a user is already subscribed, they are included in the `successful` response.
- Returns `207 Multi-Status` if some subscriptions failed.


<APIPage document={"./openapi-admin.json"} operations={[{"path":"/topics/{topic_id}/subscriptions","method":"post"}]} />