Skip to main content
GET
/
v1
/
lines
Get Line Info
curl --request GET \
  --url https://api.reselliptv.com/v1/lines \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "hostname": "<string>",
  "username": "<string>",
  "password": "<string>",
  "label": "<string>",
  "enabled": true,
  "connections": 123,
  "macaddress": "<string>",
  "parental_code": "<string>",
  "is_trial": true,
  "exp_date": "Tue Dec 03 2024 18:44:34 GMT+0100 (GMT+01:00)",
  "start_date": "Tue Dec 03 2024 18:44:34 GMT+0100 (GMT+01:00)",
  "created_at": "Tue Dec 03 2024 18:44:34 GMT+0100 (GMT+01:00)"
}

Authorizations

x-api-key
string
header
required

API Key

Query Parameters

id
string<uuid>

The ID of the line. Either the ID or the username or the MAC address is required to run this request.

username
string

The username of the line.

macaddress
string

MAC address of the line.

Response

Ok: Return all details of the specified line

id
string
required
hostname
string | null
required
username
string
required
password
string
required
label
string
required
enabled
boolean
required
connections
number
required
macaddress
string | null
required
parental_code
string | null
required
is_trial
boolean
required
exp_date
string | null
required

Date of expiration of the line.

Example:

"Tue Dec 03 2024 18:44:34 GMT+0100 (GMT+01:00)"

start_date
string | null
required

Starting date of the line (Creation date or Extension date if the line has been extended).

Example:

"Tue Dec 03 2024 18:44:34 GMT+0100 (GMT+01:00)"

created_at
string | null
required

Initial creation date of the line.

Example:

"Tue Dec 03 2024 18:44:34 GMT+0100 (GMT+01:00)"