---
title: "Invite user to team channels"
method: POST
path: "/api/users/{id}/relationships/team_channels"
tags: ["Users"]
---

# Invite user to team channels

`POST /api/users/{id}/relationships/team_channels`

## Request

- Base URL: `https://api.atono.io`
- URL: `https://api.atono.io/api/users/{id}/relationships/team_channels`
- Auth: API key in header `X-API-KEY`

Invite the user who have opted-in to Slack connection to the teams' Slack channels

## Path parameters

- `id` string, uuid, required

## Request body

- MultiResourceRequestResourceIdentifier
  - `data` ResourceIdentifier[], required
    - `type` string, required: Identifies the type of the linked resource.
    - `id` string, required: The unique identifier of the linked resource.

## Response `202`

User has been scheduled to be added to Slack team channels in the background.

## Other responses

- `404`: The team channel is not found
- `500`: Unexpected error

---

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