Skip to main content
POST
Simulate Create Trial Line Cost

Authorizations

x-api-key
string
header
required

API Key

Body

application/json
duration
number
required

The duration of the line in hours. Valid values are 12, 24, or 48.

Example:

48

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"

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 trial creation cost.

cost
number
required
Example:

0

Last modified on May 22, 2026