---
title: "Exclude By Username"
method: POST
path: "/inbox/exclusions"
tags: ["inbox"]
---

# Exclude By Username

`POST /inbox/exclusions`

## Request

- Base URL: `https://api.reeldrop.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.reeldrop.io/inbox/exclusions`
- Auth: HTTP bearer

Exclude someone by username, before or after they have written. A thread they already
have is matched now; otherwise it applies from their first message.

## Query parameters

- `workspace_id` string, nullable: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.

## Request body

- ExclusionByUsernameIn
  - `hide_from_inbox` boolean, nullable
  - `block_dm_automations` boolean, nullable
  - `block_ai_replies` boolean, nullable
  - `block_comment_automations` boolean, nullable
  - `username` string, required

## Response `201`

Successful Response

- ExclusionOut
  - `id` string, required
  - `username` string, nullable
  - `name` string, nullable
  - `created_at` string, date-time, required
  - `pending` boolean
  - `hide_from_inbox` boolean
  - `block_dm_automations` boolean
  - `block_ai_replies` boolean
  - `block_comment_automations` boolean
  - `threads_deleted` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/reeldrop/apis/reeldrop-api.md) · [All operations](https://skmtc.dev/reeldrop/apis/reeldrop-api/llms.txt) · [OpenAPI document](https://skmtc.dev/reeldrop/apis/reeldrop-api/revisions/d3b2a338556c?raw)
