---
title: "Update SIP profile"
method: PUT
path: "/api/relay/rest/sip_profile"
tags: ["SIP Profile"]
---

# Update SIP profile

`PUT /api/relay/rest/sip_profile`

Updates the SIP profile settings for your project.

#### Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_.

[Learn more about API scopes](/docs/platform/your-signalwire-api-space).

## Request body

- UpdateSipProfileRequest — Request body for updating the SIP profile.
  - `domain_identifier` string — String representing the domain_identifier portion of the profile. Must be unique across your project.
  - `default_codecs` string[] — A list of codecs this profile will support. Currently supported values are: OPUS, G722, PCMU, PCMA, VP8, H264.
  - `default_ciphers` string[] — A list of encryption ciphers this profile will support. Currently supported values are: AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_32.
  - `default_encryption` 'required' | 'optional' — A string representing whether connections to an endpoint that uses this profile require encryption or if encryption is optional. Encryption will always be used if possible. Possible values are required or optional.
  - `default_send_as` string — The e164 formatted number you wish to set as the originating number when dialing PSTN phone numbers from a SIP Endpoint that uses this profile. Specify null or an empty string to randomly choose a purchased or verified number from within the project.

## Response `201`

The request has succeeded and a new resource has been created as a result.

- SipProfileResponse — Response containing the SIP profile.
  - `domain` string — A string representation of the fully qualified domain name for this profile.
  - `domain_identifier` string — String representing the domain_identifier portion of the profile. Must be unique across your project.
  - `default_codecs` string[] — A list of codecs this profile will support. Currently supported values are: OPUS, G722, PCMU, PCMA, VP8, H264.
  - `default_ciphers` string[] — A list of encryption ciphers this profile will support. Currently supported values are: AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_32.
  - `default_encryption` 'required' | 'optional' — A string representing whether connections to an endpoint that uses this profile require encryption or if encryption is optional. Encryption will always be used if possible. Possible values are required or optional.
  - `default_send_as` string — The e164 formatted number you wish to set as the originating number when dialing PSTN phone numbers from a SIP Endpoint that uses this profile. Specify null or an empty string to randomly choose a purchased or verified number from within the project.

## Other responses

- `401` — Access is unauthorized.
- `422` — The request failed validation. See errors for details.
- `500` — An internal server error occurred.

---

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