๐Ÿ“ก Automatic IPTV / API Docs
๐Ÿ”‘ Get Your API Key Dashboard โ†’

๐Ÿ“ก IPTV Trial API

Programmatically generate IPTV trial accounts across every panel you have access to. Authenticate once with your master API key โ€” pick the panel via the URL path.

๐Ÿ”‘ Need your API key? Log in and visit your API Key page to view, copy, or rotate it.

Base URL

https://automaticiptv.com/api/v1

Workflow

  1. Grab your API key from /api-key (login required, one-time setup).
  2. Call GET /api/v1/panels to see which IPTV panels you can use.
  3. Hit POST /api/v1/trial/{iptv_key} with a customer email โ€” trial credentials come back as JSON.

๐Ÿ” Authentication

Every request requires your API key sent as a Bearer token. The X-API-Key header is also accepted.

curl https://automaticiptv.com/api/v1/panels \
  -H "Authorization: Bearer YOUR_API_KEY"
const res = await fetch("https://automaticiptv.com/api/v1/panels", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await res.json();
$ch = curl_init("https://automaticiptv.com/api/v1/panels");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => ["Authorization: Bearer YOUR_API_KEY"],
]);
$data = json_decode(curl_exec($ch), true);
import requests
resp = requests.get(
    "https://automaticiptv.com/api/v1/panels",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(resp.json())

โฑ๏ธ Rate Limits

60 requests per minute per API key. Excess calls receive HTTP 429 with a Retry-After header (seconds). Every successful response includes:

HeaderMeaning
X-RateLimit-LimitTotal allowed per minute.
X-RateLimit-RemainingCalls still allowed in the current minute.
Retry-AfterSeconds until the bucket resets โ€” only on 429.

Trial creation is additionally throttled by your per-panel cooldown setting (same email + same panel cannot generate twice inside the window).

โš ๏ธ Error Codes

All errors come back as JSON with success: false and an error message. HTTP status indicates the failure class.

StatusMeaning
400Unknown iptv_key in URL.
401Missing or invalid API key.
402Subscription expired.
403API disabled, account banned, or no access to this panel.
405Wrong HTTP method.
422Invalid email or missing required field.
429Rate limit OR per-email cooldown active.
502Trial generation failed at the IPTV panel (captcha, panel down).
503Backend mis-configured.

๐ŸŽฏ Create Trial

POST /api/v1/trial/{iptv_key}

Generates a new trial line on the chosen panel and (optionally) queues the credentials email.

Path parameters

ParameterTypeRequiredDescription
iptv_keystringRequiredOne of the values from Panel Keys.

Body parameters

ParameterTypeRequiredDescription
emailstringRequiredCustomer email โ€” also used for cooldown bucketing.
send_emailbooleanOptionalDefault true. false returns credentials in JSON only โ€” no delivery email.
websitestringOptionalURL used to render {website} and {download} placeholders in the email template.

Request example

curl -X POST https://automaticiptv.com/api/v1/trial/opplex_trial \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]","send_email":true}'
const res = await fetch("https://automaticiptv.com/api/v1/trial/opplex_trial", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    email: "[email protected]",
    send_email: true
  })
});
const data = await res.json();
console.log(data);
$ch = curl_init("https://automaticiptv.com/api/v1/trial/opplex_trial");
curl_setopt_array($ch, [
    CURLOPT_POST           => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        "email"      => "[email protected]",
        "send_email" => true,
    ]),
]);
$data = json_decode(curl_exec($ch), true);
import requests
resp = requests.post(
    "https://automaticiptv.com/api/v1/trial/opplex_trial",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"email": "[email protected]", "send_email": True},
)
print(resp.json())

Success response โ€” 200

{
  "success": true,
  "iptv_key": "opplex_trial",
  "iptv_name": "Opplex IPTV Panel",
  "data": {
    "server":      "http://yourserver.com:8080",
    "username":    "trial_a1b2c3",
    "password":    "x9k2m",
    "expiry":      "24 Hours",
    "m3u_url":     "http://yourserver.com:8080/get.php?username=...&type=m3u_plus",
    "connections": "1"
  },
  "email_queued": true,
  "cooldown":     false
}

๐Ÿ“บ List Panels

GET /api/v1/panels

Returns every IPTV panel in the system together with your has_access flag โ€” handy for building a panel picker.

Request example

curl https://automaticiptv.com/api/v1/panels \
  -H "Authorization: Bearer YOUR_API_KEY"
const data = await (await fetch("https://automaticiptv.com/api/v1/panels", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
})).json();
$ch = curl_init("https://automaticiptv.com/api/v1/panels");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => ["Authorization: Bearer YOUR_API_KEY"],
]);
$data = json_decode(curl_exec($ch), true);
import requests
data = requests.get(
    "https://automaticiptv.com/api/v1/panels",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
).json()

Success response โ€” 200

{
  "success": true,
  "panels": [
    {
      "iptv_key":   "opplex_trial",
      "iptv_name":  "Opplex IPTV Panel",
      "has_access": true,
      "endpoints": {
        "trial":  "/api/v1/trial/opplex_trial",
        "paid":   "/api/v1/paid/opplex_trial",
        "extend": "/api/v1/extend/opplex_trial",
        "status": "/api/v1/status/opplex_trial"
      }
    }
  ]
}

๐Ÿ“Š Panel Status

GET /api/v1/status/{iptv_key}

Returns the cached panel-login state plus your account summary. Cheap โ€” never triggers a live ping.

Request example

curl https://automaticiptv.com/api/v1/status/opplex_trial \
  -H "Authorization: Bearer YOUR_API_KEY"
const data = await (await fetch("https://automaticiptv.com/api/v1/status/opplex_trial", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
})).json();
$ch = curl_init("https://automaticiptv.com/api/v1/status/opplex_trial");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => ["Authorization: Bearer YOUR_API_KEY"],
]);
$data = json_decode(curl_exec($ch), true);

Success response โ€” 200

{
  "success": true,
  "iptv_key": "opplex_trial",
  "iptv_name": "Opplex IPTV Panel",
  "has_access": true,
  "panel_logged_in": "logged_in",
  "session_started_at": 1735420000,
  "session_age_sec": 3600,
  "account": {
    "email":               "[email protected]",
    "role":                "user",
    "subscription_ends":   "2026-12-31",
    "last_used_at":        "2026-06-26 15:32:11",
    "rate_limit_per_min":  60
  }
}

๐Ÿ’Ž Create Paid Line

POST /api/v1/paid/{iptv_key}

Create a new paid subscription line on the chosen panel using your saved panel credentials. Authenticates with your API key โ€” no session or CSRF token needed.

curl -X POST https://automaticiptv.com/api/v1/paid/panel_starsharetv \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plan":"1m"}'
const res = await fetch("https://automaticiptv.com/api/v1/paid/panel_starsharetv", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ plan: "1m" }),
});
const data = await res.json();
$ch = curl_init("https://automaticiptv.com/api/v1/paid/panel_starsharetv");
curl_setopt_array($ch, [
    CURLOPT_POST           => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode(["plan" => "1m"]),
]);
$data = json_decode(curl_exec($ch), true);
import requests
resp = requests.post(
    "https://automaticiptv.com/api/v1/paid/panel_starsharetv",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"plan": "1m"},
)
print(resp.json())

Body parameters

ParameterTypeRequiredDescription
planstringRequired1m ยท 3m ยท 6m ยท 12m
macstringMAC panels onlyCustomer device MAC โ€” required for Glo IPTV. Format: AA:BB:CC:DD:EE:FF.

Success response โ€” 200

{
  "success":    true,
  "iptv_key":   "panel_starsharetv",
  "iptv_name":  "StarShare TV",
  "subscription": {
    "username":                "739281046",
    "password":                "284736102",
    "plan":                    "1m",
    "plan_label":             "1 Month",
    "subscription_expires_at": "2026-12-14 10:30:00",
    "server_url":             "http://ss.example.com:8080",
    "m3u_link":               "http://ss.example.com:8080/get.php?username=...&type=m3u_plus"
  }
}

โฐ Extend Line

POST /api/v1/extend/{iptv_key}

Extend an existing paid line. The new duration is added on top of the current expiry โ€” not from today. The line must already exist on the panel (created via API or dashboard).

curl -X POST https://automaticiptv.com/api/v1/extend/panel_starsharetv \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"739281046","plan":"1m"}'
const res = await fetch("https://automaticiptv.com/api/v1/extend/panel_starsharetv", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ username: "739281046", plan: "1m" }),
});
const data = await res.json();
$ch = curl_init("https://automaticiptv.com/api/v1/extend/panel_starsharetv");
curl_setopt_array($ch, [
    CURLOPT_POST           => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        "Authorization: Bearer YOUR_API_KEY",
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => json_encode([
        "username" => "739281046",
        "plan"     => "1m",
    ]),
]);
$data = json_decode(curl_exec($ch), true);
import requests
resp = requests.post(
    "https://automaticiptv.com/api/v1/extend/panel_starsharetv",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"username": "739281046", "plan": "1m"},
)
print(resp.json())

Body parameters

ParameterTypeRequiredDescription
usernamestringRequiredThe customer's existing username on this panel.
planstringRequired1m ยท 3m ยท 6m ยท 12m

Success response โ€” 200

{
  "success":    true,
  "iptv_key":   "panel_starsharetv",
  "iptv_name":  "StarShare TV",
  "subscription": {
    "username":                "739281046",
    "plan":                    "1m",
    "plan_label":             "1 Month",
    "subscription_expires_at": "2027-01-14 10:30:00"
  }
}

Use these iptv_key values in the /paid/ and /extend/ endpoints. The panel must be configured in your Settings before you can use it.

iptv_keyPanelNotes
panel_starsharetvStarShare TV
b1g_trialB1G
panel_opplexOpplex
plixi_trialPlixi
glo_trialGlo IPTVMAC address required

Use these values as the plan body parameter in Create / Extend calls.

StarShare

planLabel
trial1 Day Trial
1m1 Month
3m3 Months
6m6 Months
12m12 Months

Opplex

planLabel
trial12 Hour Trial
1m1 Month
3m3 Months
6m6 Months
12m12 Months

Glo IPTV

planLabel
trial2 Day Trial
1m1 Month
3m3 Months
6m6 Months
12m12 Months

GeoIPTV

planLabelBilling
1m1 MonthXtream-Masters account
3m3 MonthsXtream-Masters account
6m6 MonthsXtream-Masters account
12m12 MonthsXtream-Masters account

๐Ÿ’ฌ WhatsApp Commands

The system includes a built-in WhatsApp bot. You type a short command into WhatsApp โ€” the bot automatically creates or extends a line and replies with the credentials.

โš™๏ธ Setup required. Configure your WhatsApp provider in Settings โ†’ WhatsApp Sender. Two providers are supported: IS Whatsapp API (free, included) or Green-API (paid, external). Once a provider is enabled and your WhatsApp is connected, the bot activates automatically โ€” no extra configuration needed.

How it works

  1. You type a command on your connected WhatsApp phone.
  2. The bot receives it via webhook, parses the command, and runs the action on the panel.
  3. Credentials (or a confirmation) are sent back to the same WhatsApp chat immediately.
  4. The line is also synced to Sub Auto Reminder automatically (paid & extend only).

๐ŸŽฏ Trial Command

Send a trial line to a customer. The command is based on your configured Trigger Phrase (default: ok sending trial). The IPTV alias can appear at any position within the phrase.

Format

PatternExample
sending {alias} trialsending starshare trial
ok sending {alias} trialok sending opplex trial
MAC-based panel: append MAC after aliassending glo trial 00:1A:79:11:22:33
# Standard panel trial
sending starshare trial

# With optional "ok" prefix
ok sending opplex trial

# MAC-based panel (Glo IPTV) โ€” MAC address required
sending glo trial AA:BB:CC:11:22:33
๐Ÿ“‹ The trigger phrase is configurable per account. If you changed it (e.g. to ok trials), the alias still inserts at the same position โ€” e.g. ok trials starshare. The ok prefix is always optional.

๐Ÿ’Ž Paid Line Command

Create a new paid subscription line. Command is fixed โ€” no trigger phrase involved.

Format

sending {plan} {alias}

# Examples
sending 1m starshare
sending 3m b1g
ok sending 6m opplex
sending 12m plixi
PartValuesNotes
plan1m ยท 3m ยท 6m ยท 12m ยท 14mDuration to create.
aliasSee Panel AliasesIdentifies the IPTV panel.

Bot reply

โœ… *StarShare 1 Month Subscription*

๐Ÿ‘ค *Username:* 739281046
๐Ÿ”‘ *Password:* 284736102
๐ŸŒ *Host Url:* http://ss.example.com:8080

๐Ÿ”— *M3U:* http://ss.example.com:8080/get.php?username=...

โฐ *Expiry:* 2027-01-14 10:30:00

Supported panels

PanelAliases
StarSharestarshare ยท star
B1Gb1g
Opplexopplex ยท op
Plixiplixi ยท fastiptv

โฐ Extend Command

Extend the duration of an existing paid line. You need to know the customer's username on that panel.

Format

extending {plan} {alias} {username}

# Examples
extending 1m starshare username123
extending 3m b1g 739281046
ok extending 6m opplex myuser99
PartValuesNotes
plan1m ยท 3m ยท 6m ยท 12m ยท 14mDuration to add on top of current expiry.
aliasSee supported panels aboveSame panels as paid line command.
usernamestringThe customer's existing panel username.

Bot reply

โœ… *StarShare Line Extended โ€” 1 Month*

๐Ÿ‘ค *Username:* username123
โฐ *New Expiry:* 14 Feb 2027

๐Ÿท๏ธ WhatsApp Panel Aliases

Use these short aliases in WhatsApp commands. For paid/extend commands use the aliases listed above under supported panels. All trial aliases are listed below.

Alias(es)PanelType
starshare ยท starStarShare TVTrial + Paid
b1gB1GTrial + Paid
opplex ยท opOpplexTrial + Paid
plixi ยท fastiptvPlixiTrial + Paid
gloGlo IPTVTrial (MAC required)
geoGeoIPTVTrial
restreamGeoIPTV StreamsTrial
hellosky ยท skyHelloSkyTrial
rolexRolexTrial
5glive ยท 5g5G LiveTrial
zumZumTrial
rynexRynexTrial
infinityInfinityTrial
hexa4k ยท h4kHexa 4KTrial
my8k ยท 8kMy 8KTrial

๐Ÿ”„ Reset API Key

POST /api/v1/key-reset

Rotates your API key. The previous key stops working immediately. You can authenticate this call with either the current API key (headless) or a logged-in dashboard session (browser).

Request example

curl -X POST https://automaticiptv.com/api/v1/key-reset \
  -H "Authorization: Bearer YOUR_API_KEY"

Success response โ€” 200

{
  "success":    true,
  "api_key":    "<new-key-here>",
  "rotated_at": "2026-06-26T15:32:11+00:00"
}
โš ๏ธ One-shot reveal โ€” the new key is returned only in this response. Save it immediately.

๐Ÿท๏ธ Panel Keys Reference

Pass one of these values as the {iptv_key} path parameter.

Opplex IPTV Panel opplex_trial
Rynex IPTV Panel rynex_trial
Infinity IPTV Panel infinity_trial
B1G IPTV Panel b1g_trial
StarShare IPTV Panel panel_starsharetv
Opplex IPTV Panel panel_opplex
Zum IPTV Panel zum_trial
Hexa4K IPTV Panel hexa4k_trial
Rolex IPTV Panel rolex_trial
GeoIPTV Restream IPTV Panel geoiptvs_trial
GeoIPTV Panel geo_trial
5GLive IPTV Panel 5glive_trial
HelloSky IPTV Panel hellosky_trial
Glo IPTV Panel glo_trial
My8k IPTV Panel my8k_trial
Plixi IPTV Panel plixi_trial
๐Ÿ’ฌ Need help? Open your dashboard and use the support form, or rotate your key any time from /api-key.