Skip to main content
PUT
/
api
/
v1
/
organizations
/
telephony-configs
/
{config_id}
Update Telephony Configuration
curl --request PUT \
  --url https://app.dograh.com/api/v1/organizations/telephony-configs/{config_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "config": {
    "ari_endpoint": "<string>",
    "app_name": "<string>",
    "app_password": "<string>",
    "provider": "ari",
    "ws_client_name": "",
    "from_numbers": [
      "<string>"
    ]
  }
}
'
{
  "id": 123,
  "name": "<string>",
  "provider": "<string>",
  "is_default_outbound": true,
  "credentials": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dograh.com/llms.txt

Use this file to discover all available pages before exploring further.

The provider cannot be changed once a configuration exists — create a new configuration if you need to switch providers. When rotating credentials, you only need to send the fields you’re changing. Re-submitting a masked sensitive value preserves the original secret, so it’s safe to round-trip a GET response back to a PUT.

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

config_id
integer
required

Body

application/json

Body for PUT /telephony-configs/{id}. Partial update.

name
string | null
Required string length: 1 - 64
config
ARIConfigurationRequest · object

Request schema for Asterisk ARI configuration.

Response

Successful Response

Body of GET /telephony-configs/{id} — credentials are masked.

id
integer
required
name
string
required
provider
string
required
is_default_outbound
boolean
required
credentials
Credentials · object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required