---
title: "Create Auto Join Rule"
method: POST
path: "/api/rules/auto-join"
---

# Create Auto Join Rule

`POST /api/rules/auto-join`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/rules/auto-join`
- Auth: none declared

Create an auto-join rule that joins channels matching a name pattern.

## Request body

- AutoJoinRuleRequest: Request model for auto-join rule creation.
  - `channel_name_pattern` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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