---
title: "Update client state"
method: PUT
path: "/calls/{call_control_id}/actions/client_state_update"
tags: ["Call Commands"]
---

# Update client state

`PUT /calls/{call_control_id}/actions/client_state_update`

Updates client state

## Path parameters

- `call_control_id` string, required

## Request body

- ClientStateUpdateRequest
  - `client_state` string, required — Use this field to add state to every subsequent webhook. It must be a valid Base-64 encoded string.

## Response `200`

Successful response upon making a call control command.

- object
  - `data` CallControlCommandResult
    - `result` string

## Other responses

- `422` — Unprocessable entity. The request was well-formed but could not be processed due to semantic errors. This includes validation errors, invalid parameter values, call state errors, conference errors, queue errors, recording/transcription errors, and business logic violations.
- `default` — Unexpected error

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/revisions/e32d46c5945b/schema)
