Get Lines
GET ?action=get_lines
Returns all lines (activations) with their credentials, customer info, status, and bouquet assignments.
Request
No request body required.
Response Fields
id — integer — Activation ID
xtream_username — string — Xtream panel username
xtream_password — string — Xtream panel password
xtream_host — string or null — Xtream panel host URL
mac_address — string or null — MAC address (MAC connection type only)
m3u_url — string or null — Generated M3U playlist URL
epg_url — string or null — Generated EPG URL
customer_email — string — Customer email address
customer_name — string or null — Customer full name
status — string — active, trial_active, expired, suspended, or canceled
expiration_date — string or null — Expiration datetime (UTC)
activated_at — string or null — Activation datetime (UTC)
product_id — integer or null — Linked Panelr product ID
connection_type — string — m3u or mac
provider — string or null — Panel plugin name
host_id — integer or null — Assigned host ID
panel_user_id — string or null — Panel user identifier
reseller_notes — string or null — Internal reseller notes
editor_id — string or null — Editor line ID (when editor is configured)
editor_username — string or null — Editor credentials username
editor_password — string or null — Editor credentials password
bouquets — object — Per-category bouquet IDs (editor mode only)
bouquet_ids — array — Flat bouquet ID array (no-editor mode only)
Bouquet Structure
When an editor is configured, bouquets are returned as an object keyed by category. An empty array for a category means all bouquets in that category are active, including any added in the future.
Editor Configured:
"bouquets": { "live": [101, 102], "vod": [], "series": [] }No Editor Configured:
"bouquet_ids": [101, 102]
Example
curl -X GET "https://YOUR_DOMAIN/api/api.php?action=get_lines" \ -H "X-Panelr-API-Key: YOUR_API_KEY"