---
title: "Update Phone Config"
method: PATCH
path: "/v1/channels/phone/{config_id}"
tags: ["Phone channel global"]
---

# Update Phone Config

`PATCH /v1/channels/phone/{config_id}`

## Path parameters

- `config_id` string, uuid, required

## Query parameters

- `append` boolean

## Request body

- UpdatePhoneConfig
  - `name` string, nullable
  - `description` string, nullable
  - `service_provider` 'sip_trunk' | 'genesys_audio_connector'
  - `security` PhoneSecurity
    - `api_key` string, nullable
    - `client_secret` string, nullable
    - `secure_trunking` boolean, nullable
    - `authentication` boolean, nullable
    - `username` string, nullable
    - `password` string, nullable
    - `password_is_set` boolean, nullable
  - `attached_environments` CreateAttachedAgentConfig[], nullable
    - `agent_id` string, uuid, required
    - `environment_id` string, uuid, required
    - `agent_name` string, nullable
    - `environment_name` string, nullable
  - `custom_invite_headers` CustomInviteHeader[], nullable
    - `name` string, required
  - `put_caller_on_hold_on_transfer` boolean, nullable
  - `send_provisional_response` boolean, nullable
  - `error_handling` PhoneErrorHandling
    - `fallback_sip_uri` string, nullable
    - `transfer_failure` PhoneErrorTransferFailureHandling
      - `reply_message` string, nullable
      - `disconnect_call` boolean, nullable
    - `call_failure` PhoneErrorCallFailureHandling
      - `reply_message` string, nullable
  - `phone_numbers` CreatePhoneNumberConfig[], nullable
    - `phone_number` string, required
    - `description` string, nullable
    - `agent_id` string, uuid, nullable
    - `environment_id` string, uuid, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ibm/apis/wxo-server-api.md) · [All operations](https://skmtc.net/ibm/apis/wxo-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ibm/wxo-server-api/revisions/82c114c37196/schema)
