---
title: "Update Number"
method: PUT
path: "/assistants/v1/numbers/{id}"
tags: ["Phone Numbers"]
---

# Update Number

`PUT /assistants/v1/numbers/{id}`

To attach or detach assistant to the number, or enable or disable the inbound/outbound call.

## Path parameters

- `id` string, required

## Request body

- object
  - `assistantId` string — To attach assistant, give id of the assistant. To detach assistant, give empty string.
  - `inboundEnabled` boolean — To enable inbound call, set to true. To disable inbound call, set to false.
  - `outboundEnabled` boolean — To enable outbound call, set to true. To disable outbound call, set to false.

## Response `200`

Successfully updated the number.

- Number
  - `_id` string, objectId, required — Unique identifier of the number
  - `teamId` string, objectId, required — This is unique identifier of the team.
  - `number` string, required — Phone number associated with the team
  - `provider` object, required
    - `name` string — Name of the provider
  - `assistantId` string — ID of the associated assistant (if any)
  - `inboundEnabled` boolean — If true, inbound call is enabled. If false, inbound call is disabled.
  - `outboundEnabled` boolean — If true, outbound call is enabled. If false, outbound call is disabled.
  - `label` string — Label for the number

## Other responses

- `400` — Invalid request body.
- `500` — Internal server error.

---

[API](https://skmtc.net/interactly/apis/interactly-api.md) · [All operations](https://skmtc.net/interactly/apis/interactly-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactly/interactly-api/versions/f39cdcb1f4e4/schema)
