Panelr

Verify Login

POST ?action=verify_login

Verifies a customer's credentials against their activation. Accepts xtream or editor credentials. Returns full account data for the customer portal. An expired line signs in too, so its owner can renew it — check status and expiration_date; only suspended and deleted lines are refused (401).

Request Parameters

FieldTypeRequiredDescription
usernamestringRequiredXtream or editor username
passwordstringRequiredXtream or editor password
plugin_idintegerOptionalLook on one service only. The same username can exist on two services; pass this when you know which one. Ignored unless it is a connected service.
customer_ipstringOptionalThe visitor's own address. Failed attempts are throttled per account and per visitor; too many in a row answer 429 "Too many attempts"

Response Fields

FieldTypeDescription
activation_idintegerActivation ID
usernamestringXtream username
customer_emailstringCustomer email address
customer_namestring|nullCustomer full name
statusstringactive, trial_active, expired, or suspended
expiration_datestring|nullExpiration datetime UTC
activated_atstring|nullActivation datetime UTC
connection_typestringm3u or mac
plugin_idinteger|nullThe service this line is on. Two services may hand out the same username, so this is what tells them apart.
plugin_namestring|nullWhat the store owner calls that service
bouquet_modestringHow this service shapes bouquets — see get_bouquets
xtream_hoststringResolved host URL
xtream_usernamestringXtream panel username
xtream_passwordstringXtream panel password
editor_usernamestringEditor credential username — empty string if not configured
editor_passwordstringEditor credential password — empty string if not configured
m3u_urlstringGenerated M3U playlist URL
epg_urlstringGenerated EPG URL
productobject|nullLinked product — see product fields below
bouquetsarrayArray of assigned bouquet objects — see bouquet fields below
eligible_productsarrayProducts available for renewal based on current connection count, excluding the free trial product — see product fields below. Only plans from the same service as the line — a renewal cannot cross services
referralobject|nullPresent when referrals are on: balance, code, and account_required — true means this line’s owner has no email login yet, so steer them to register_customer

Product Object

FieldTypeDescription
idintegerProduct ID
namestringProduct name
alternate_namestring|nullAlternate display name
price_decimalfloatProduct price
currencystringCurrency code e.g. USD
duration_monthsintegerSubscription duration in months
connectionsintegerNumber of simultaneous connections

Bouquet Object

FieldTypeDescription
idintegerBouquet ID
namestringBouquet name
display_namestring|nullCustomer-facing display name — use over name when available
categorystringlive, vod, or series
is_enabledinteger1 if enabled