> ## Documentation Index
> Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update SIP Trunk

> Update a SIP trunk's configuration

# Update SIP Trunk

Update a SIP trunk's configuration. All fields are optional — only fields you send are updated. Changes that affect connectivity (domain, transport, credentials) automatically reset `is_verified` to `false`.

## Endpoint

```
PUT /api/v1/sip-trunks/{trunk_id}
```

## Path parameters

<ParamField path="trunk_id" type="string" required>SIP trunk UUID.</ParamField>

## Request headers

<ParamField header="Authorization" type="string" required>
  Bearer token. Format: `Bearer talq_your_environment_token_here`
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Must be set to `application/json`
</ParamField>

## Request body

Same fields as [Create SIP Trunk](/api-reference/endpoints/create-sip-trunk), all optional.

## Examples

<RequestExample>
  ```bash theme={null}
  curl -X PUT "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
    -H "Authorization: Bearer talq_your_environment_token_here" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Primary Carrier — US (renamed)",
      "is_active": false
    }'
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "id": "trunk-uuid-1",
      "name": "Primary Carrier — US (renamed)",
      "is_active": false,
      "is_verified": true,
      "updated_at": "2024-01-15T15:00:00Z"
    }
  }
  ```
</ResponseExample>

## Notes

* After updating credentials/domain/transport, re-run [Verify SIP Trunk](/api-reference/endpoints/verify-sip-trunk) before reactivating.
