Skip to main content
GET
/
v1
/
lines
/
all
Get Active Lines
curl --request GET \
  --url https://api.reselliptv.com/v1/lines/all \
  --header 'x-api-key: <api-key>'
{
  "totalHits": 123,
  "totalReturns": 123,
  "lines": [
    {
      "id": "<string>",
      "username": "<string>",
      "password": "<string>",
      "enabled": true,
      "label": "<string>",
      "macaddress": "<string>",
      "parental_code": "<string>",
      "connections": 123,
      "is_trial": false,
      "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

offset
string
default:0

The offset for the returned lines. Should be a non-negative integer.

limit
string
default:20

The number of lines to return. Should be an integer between 1 and 100.

status
enum<string>
default:all

Status of the returned lines. Possible values: 'all', 'active', 'suspended'.

Available options:
all,
active,
suspended
type
enum<string>
default:all

Type of the line to return. Possible values: 'all', 'premium', 'trial'.

Available options:
all,
premium,
trial
orderBy
enum<string>
default:id

Field to sort lines by. Possible values: 'id', 'username', 'enabled', 'exp_date'.

Available options:
id,
username,
enabled,
exp_date
orderType
enum<string>
default:asc

Type of sort. Possible values: 'asc', 'desc'.

Available options:
asc,
desc

Response

Returns a list of active lines.

totalHits
number
required

The total number of lines available. (Helpfull for pagination)

totalReturns
number
required

The number of lines returned in the current response.

lines
object[]
required