---
title: "Sync User From Panel"
method: POST
path: "/cabinet/admin/users/{user_id}/sync/from-panel"
tags: ["Cabinet Admin Users"]
---

# Sync User From Panel

`POST /cabinet/admin/users/{user_id}/sync/from-panel`

Sync user data FROM panel TO bot.

Fetches user data from Remnawave panel and updates local database.

## Path parameters

- `user_id` integer, required

## Request body

- SyncFromPanelRequest — Request to sync user from panel.
  - `update_subscription` boolean — Update subscription data
  - `update_traffic` boolean — Update traffic usage
  - `create_if_missing` boolean — Create subscription if user exists in panel but not in bot

## Response `200`

Successful Response

- SyncFromPanelResponse — Response after syncing from panel.
  - `success` boolean, required
  - `message` string, required
  - `panel_user` PanelUserInfo — User info from panel.
    - `uuid` string, nullable
    - `short_uuid` string, nullable
    - `username` string, nullable
    - `status` string, nullable
    - `expire_at` string, date-time, nullable
    - `traffic_limit_gb` number
    - `traffic_used_gb` number
    - `device_limit` integer
    - `subscription_url` string, nullable
    - `active_squads` string[]
  - `changes` object
  - `errors` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api.md) · [All operations](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bedolagam/remnawave-bot-admin-api/versions/45956d1b13ec/schema)
