---
title: "Update a user"
method: PUT
path: "/users/me"
tags: ["Users"]
---

# Update a user

`PUT /users/me`

Updates the details of the currently authenticated user

## Request body

- RequestsUserUpdate
  - `active_phone_id` string, required
  - `timezone` string, required

## Response `200`

OK

- ResponsesPhoneResponse
  - `data` EntitiesPhone, required
    - `created_at` string, required
    - `fcm_token` string
    - `id` string, required
    - `max_send_attempts` integer, required — MaxSendAttempts determines how many times to retry sending an SMS message
    - `message_expiration_seconds` integer, required — MessageExpirationSeconds is the duration in seconds after sending a message when it is considered to be expired.
    - `message_send_schedule_id` string
    - `messages_per_minute` integer, required
    - `missed_call_auto_reply` string
    - `phone_number` string, required
    - `sim` 'SIM1' | 'SIM2', required
    - `unarchive_thread` boolean, required — UnarchiveThread moves an archived message thread back to the inbox when a new message is received on this phone.
    - `updated_at` string, required
    - `user_id` string, required
  - `message` string, required
  - `status` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/ndolestudio/apis/httpsms-api-reference.md) · [All operations](https://skmtc.net/ndolestudio/apis/httpsms-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ndolestudio/httpsms-api-reference/versions/ddd090b6b679/schema)
