Skip to main content
POST
Sync User From Panel

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
integer
required

Body

application/json

Request to sync user from panel.

update_subscription
boolean
default:true

Update subscription data

update_traffic
boolean
default:true

Update traffic usage

create_if_missing
boolean
default:false

Create subscription if user exists in panel but not in bot

Response

Successful Response

Response after syncing from panel.

success
boolean
required
message
string
required
panel_user
PanelUserInfo · object | null

User info from panel.

changes
Changes · object
errors
string[]