---
title: "Subscribes a consumer to a communication channel"
method: POST
path: "/private-data/consent/{channel}"
tags: ["consent"]
---

# Subscribes a consumer to a communication channel

`POST /private-data/consent/{channel}`

Requests consent to enable a communication channel (sms, email, agenda, whatsapp) for a consumer

## Path parameters

- `channel` string, required

## Headers

- `Brand` string, required

## Request body

- SrcPortsRestSubscribeChannelBodyInput
  - `cpf_custom_field` string
  - `type` string
  - `value` string

## Response `201`

Created

- HttpMessageResponse
  - `message` string

## Other responses

- `400` — Bad Request

---

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