---
title: "Create an unsubscribe group"
method: POST
path: "/email_unsubscribe_groups"
tags: ["Email Unsubscribe Groups"]
---

# Create an unsubscribe group

`POST /email_unsubscribe_groups`

## Request body

- CreateUnsubscribeGroupRequest
  - `name` string, required
  - `description` string, nullable

## Response `201`

Created.

- UnsubscribeGroupResponse
  - `data` UnsubscribeGroup, required
    - `id` string, uuid, required
    - `record_type` 'email_unsubscribe_group', required — View-only.
    - `name` string, required
    - `description` string, nullable, required — Always present (not omit-nullable); `null` when unset.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401` — Missing or invalid gateway auth.
- `406` — Framework-rendered error (e.g. 406 Not Acceptable, 405 Method Not Allowed, 415 Unsupported Media Type). HTTP status matches the error and the body `code` carries that same status (e.g. `"406"`, not a hardcoded `"500"`). The explicit `500.json` clause still emits `code: "500"` for genuine 500s.
- `422` — Validation error (changeset or internal `Params`). One error object per field, `source.pointer /data/attributes/<field>`.

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/8f5f4e537994/schema)
