---
title: "Update stream"
method: PUT
path: "/streams/{id}"
tags: ["Streams"]
---

# Update stream

`PUT /streams/{id}`

Update an existing stream. Only the fields you send are changed.

**Authentication:** TextPeak API key in the `Authorization` header (see **Authentication** in the API Overview).

## Request body

- object
  - `name` string, required — Stream name.
  - `description` string — Free-text description.
  - `type` 'MARKETING' | 'TRANSACTIONAL' | 'OTP' | 'TWO_WAY' | 'WHATSAPP_BUSINESS' | 'WHATSAPP_PRIVATE' | 'TELEGRAM_BOT' | 'TELEGRAM_PRIVATE' | 'WEBSOCKET' | 'VOICE' — Stream type.
  - `params` object — Type-specific configuration; the accepted keys depend on the stream type.
  - `ipAcl` string — Comma/space-separated IP allow-list restricting where this stream may be used.
  - `state` 'READY' | 'SENDING' | 'DRAFT' | 'DISABLED' | 'RESTRICTED' — Stream state.

## Response `200`

The updated stream.

- object
  - `id` integer — Unique stream identifier.
  - `streamUid` string — Opaque stream UID.
  - `name` string — Stream name.
  - `description` string — Free-text description.
  - `type` 'MARKETING' | 'TRANSACTIONAL' | 'OTP' | 'TWO_WAY' | 'WHATSAPP_BUSINESS' | 'WHATSAPP_PRIVATE' | 'TELEGRAM_BOT' | 'TELEGRAM_PRIVATE' | 'WEBSOCKET' | 'VOICE' — Stream type.
  - `callerId` string — Caller ID — present only for VOICE streams.
  - `ipAcl` string — Comma/space-separated IP allow-list.
  - `state` 'READY' | 'SENDING' | 'DRAFT' | 'DISABLED' | 'RESTRICTED' — Stream state.
  - `streamTags` object[] — Tags attached to the stream.
    - `id` integer — Tag identifier.
    - `value` string — Tag value.

---

[API](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1.md) · [All operations](https://skmtc.net/commpeak/apis/dialer-api-v2-0-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/commpeak/dialer-api-v2-0-1/revisions/eacecf960bb6/schema)
