---
title: "Bind an agent or team to a channel on a phone number"
method: POST
path: "/v1/communication/phone-numbers/{phone_number_id}/channels"
tags: ["communication"]
---

# Bind an agent or team to a channel on a phone number

`POST /v1/communication/phone-numbers/{phone_number_id}/channels`

## Path parameters

- `phone_number_id` string, uuid, required

## Request body

- ChannelCreate
  - `channel_type` 'sms' | 'inbound_call' | 'outbound_call', required
  - `agent_id` string, uuid, nullable
  - `agent_revision_id` string, uuid, nullable
  - `team_id` string, uuid, nullable
  - `team_revision_id` string, uuid, nullable

## Response `201`

Successful Response

- ChannelResponse
  - `id` string, uuid, required
  - `phone_number_id` string, uuid, required
  - `channel_type` 'sms' | 'inbound_call' | 'outbound_call', required
  - `agent_id` string, uuid, nullable
  - `agent_revision_id` string, uuid, nullable
  - `team_id` string, uuid, nullable
  - `team_revision_id` string, uuid, nullable
  - `created_at` string, date-time, required
  - `revision_state` 'pinned_current' | 'pinned_stale' | 'legacy_unpinned', nullable
  - `pinned_revision_name` string, nullable
  - `active_revision_id` string, uuid, nullable

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `404` — Resource not found
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
