---
title: "Create BCC Map"
method: POST
path: "/api/v1/add/bcc"
tags: ["Address Rewriting"]
---

# Create BCC Map

`POST /api/v1/add/bcc`

Using this endpoint you can create a BCC map to forward all mails via a bcc for a given domain.

## Request body

- object
  - `active` number — 1 for a active user account 0 for a disabled user account
  - `bcc_dest` string — the email address where all mails should be send to
  - `local_dest` string — the domain which emails should be forwarded
  - `type` 'sender' | 'rcpt' — the type of bcc map can be `sender` or `rcpt`

## Response `200`

OK

- object
  - `log` unknown[] — contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'error'

## Other responses

- `401` — Unauthorized

## Changes

- **2025-03-26** `43cddfc336ac` — 1 breaking, 2 info
  - request property `type` was restricted to a list of enum values
  - added the new `rcpt` enum value to the request property `type`
  - added the new `sender` enum value to the request property `type`
- **2020-06-07** `47523aca063a` — 2 breaking
  - removed the enum value `rcpt` of the request property `type`
  - removed the enum value `sender` of the request property `type`

[Change history](https://skmtc.dev/mailcow/apis/mailcow-api/changes/api/v1/add/bcc/post.md)

---

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