Skip to main content
POST
Simulate Create Line Cost

Authorizations

x-api-key
string
header
required

API Key

Body

application/json
duration
number
required

The duration of the line in months. Valid values are 1, 3, 6, or 12.

Example:

12

username
string

The username of the line. Must be RFC 3986 compliant. If not provided, a random username will be generated.

Required string length: 12 - 30
password
string

The password of the line. Must be RFC 3986 compliant. If not provided, a random password will be generated.

Required string length: 14 - 30
label
string

The label of the line.

Maximum string length: 30
Example:

"My TV Line"

connections
number
default:1

The number of simultaneous connections allowed for the line. Should be an integer between 1 and 6.

Required range: 1 <= x <= 6
Example:

1

macaddress
string

The MAC address to assign to the line.

Example:

"67:21:4C:24:76:97"

parental_code
string

The parental code of the MAG access. Should be 4 digits.

Required string length: 4
Example:

"0000"

bouquets
number[]

The IDs of the bouquets to link on creation of the line.

Example:
enabled
boolean
default:true

Specifies whether the created line should be active or not.

Response

OK: Returns the simulated creation cost.

cost
number
required
Example:

25

Last modified on May 22, 2026