---
title: "Enable or disable inbound calls"
method: PATCH
path: "/v1/numbers/{number_id}/inbound-calls"
tags: ["numbers"]
---

# Enable or disable inbound calls

`PATCH /v1/numbers/{number_id}/inbound-calls`

## Request

- Base URL: `https://api.agentphone.ai`
- URL: `https://api.agentphone.ai/v1/numbers/{number_id}/inbound-calls`
- Auth: HTTP bearer

Turn inbound calls on or off for one number.

With `enabled: false` the number rejects incoming calls before they are
answered: no call record is created and nothing is billed. Messaging in
both directions and outbound calls are unaffected. The setting is kept
when the number is attached to an agent or the agent is edited, so a
number can hold an agent assignment for messaging only.

Pass the number's `id` as returned by the API, not the E.164 string.
Numbers that cannot enforce the setting return 422: messaging-only
lines, and most numbers that route calls to your own SIP trunk, which
manage inbound calls on your platform instead.

## Path parameters

- `number_id` string, required

## Request body

- InboundCallsUpdateRequest
  - `enabled` boolean, required: false rejects inbound calls on this number; true answers them again.

## Response `200`

Successful Response

- InboundCallsResponse
  - `success` boolean, required
  - `inboundCallsEnabled` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-27** `ecbdc6b04639`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentphone/apis/agentphone-api/changes/v1/numbers/:number_id/inbound-calls/patch.md)

---

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