Talkr AI
API ReferenceTelephony Configurations

Update Configuration

Rename a configuration or rotate its credentials

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.

PUT
/api/v1/organizations/telephony-configs/{config_id}

Path Parameters

config_id*Config Id

Header Parameters

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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

Response Body

application/json

application/json

curl -X PUT "https://example.com/api/v1/organizations/telephony-configs/0" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": 0,  "name": "string",  "provider": "string",  "is_default_outbound": true,  "credentials": {},  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}