Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Xtream UI API extend existing user Telegram Bot

pizayuu

Extended Member
Ext. Member
Basic Member
Joined
Mar 29, 2025
Messages
6
Reaction score
4
Points
14
Location
Saint-Roch-De-Lachigan
Hello everyone,

I need your help regarding XUI One

I'm a reseller with a Super Panel, so I have full access to my API key. The owner of the panel is a friend of mine.

I've built a Python Telegram bot that successfully generates trials and new memberships using the API. However, I've been unable to renew existing lines. I have tried using edit_line, renew_line, and several other possible API actions, but none seem to work. The API always returns {"status":"STATUS_SUCCESS","data":[]}, even though the user exists.

My question is: Does anyone know the correct API command to extend existing line?
Can my friend enable something in his panel so i will be able to do it.

I would really appreciate any guidance or insights.

Thank you in advance!
 
i get this working with:

http://iptvhost: port/accesscodeapi/?api_key=apikey&action=edit_line&id=id&package=idpackage
 
Hello everyone,

I need your help regarding XUI One

I'm a reseller with a Super Panel, so I have full access to my API key. The owner of the panel is a friend of mine.

I've built a Python Telegram bot that successfully generates trials and new memberships using the API. However, I've been unable to renew existing lines. I have tried using edit_line, renew_line, and several other possible API actions, but none seem to work. The API always returns {"status":"STATUS_SUCCESS","data":[]}, even though the user exists.

My question is: Does anyone know the correct API command to extend existing line?
Can my friend enable something in his panel so i will be able to do it.

I would really appreciate any guidance or insights.

Thank you in advance!
yes I know how to extend the line for this now. Message me
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
It sounds like your API requests are reaching the panel, but the specific action for renewing a line might not be available to your reseller level by default.


In XUI One, the command to extend an existing line is usually something like renew_line (sometimes called extend_line in older API versions), but it will only work if:


  1. The line ID or username you send matches exactly what’s in the panel.
  2. The reseller account has permission to renew that line.
  3. The panel owner has allowed renewals for your API key.

If you’re always getting "status":"STATUS_SUCCESS","data":[] with no actual change, it often means the API accepted the request format but did nothing because of permission restrictions or because the target user doesn’t belong to your reseller account.


Your friend (the panel owner) should check in Super Panel → Reseller Settings that:


  • Renewals are enabled for your account.
  • Your balance or credits are sufficient for the renewal.
  • The API key permissions include renewal actions.

If everything is correct, you may want to inspect the panel’s API documentation for the exact required parameters — sometimes line_id and username can’t be used interchangeably for renewals.
 
In web browser yes this will work as Eloynne stated

http://iptvhost: port/accesscodeapi/?api_key=apikey&action=edit_line&id=id&package=idpackage

dyrexin is also correct that some things are permission based as you can check packages with admin api but not reseller api I noticed. Even when I added reseller group as admin that still did not matter but if I used the admin api it showed me all packages correctly.

Keep in mind if you run these in a something like powershell like I learned I had to invoke the command in order for it to work.​

 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Hello everyone,

I need your help regarding XUI One

I'm a reseller with a Super Panel, so I have full access to my API key. The owner of the panel is a friend of mine.

I've built a Python Telegram bot that successfully generates trials and new memberships using the API. However, I've been unable to renew existing lines. I have tried using edit_line, renew_line, and several other possible API actions, but none seem to work. The API always returns {"status":"STATUS_SUCCESS","data":[]}, even though the user exists.

My question is: Does anyone know the correct API command to extend existing line?
Can my friend enable something in his panel so i will be able to do it.

I would really appreciate any guidance or insights.

Thank you in advance!

I have the same issue of pizayuu, I've tried everything and still haven't found a solution. If someone can help me I'll appreciate it.​


pizayuu If you found the solution let me know how to do it. I would really appreciate it.
 

I have the same issue of pizayuu, I've tried everything and still haven't found a solution. If someone can help me I'll appreciate it.​


pizayuu If you found the solution let me know how to do it. I would really appreciate it.
what specifically are you stuck on? Need to know what your trying to run to know what your doing incorrectly.
 
what specifically are you stuck on? Need to know what your trying to run to know what your doing incorrectly.
I am trying to create a demo with the reseller API. I also have access to the admin panel, and I don't understand why when I create the demo, it creates it but deactivated, meaning it creates it expired.


I am using this URL:

http://iptvhost.com:port/accesscodeapi/?api_key=apikey&action=get_line&is_trial=1&username=testapiuser3&package=idpackage&allowed_outputs=ts,hls,m3u8


I've tried to create it with the endpoint “allowed_outputs=ts.”, the "action=create_line" and the "is_trial=true" instead "is_trial=1" and the issue is the same.

Even when the demo is created, it is not marked as a "trial" in the panel, the yellow point (see attached photo).
Look the image attached:



The strange thing is that I have a reseller who is doing it and it's working well for him, but he doesn't know why because someone else set it all up for him and it's been difficult for him to contact that person again. The panel I'm using for testing is in the same reseller group as his and we use the same access code. In other words, it's not a matter of permissions because if he can do it, mine should work too. It's not a matter of credits because I have 80 credits in the panel I'm testing, and even so, the demos are free.

I think I'm not entering the correct endpoint, but I really don't know what to do because I don't have that documentation.


If anyone could help me, I would be very grateful.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
I am trying to create a demo with the reseller API. I also have access to the admin panel, and I don't understand why when I create the demo, it creates it but deactivated, meaning it creates it expired.


I am using this URL:

http://iptvhost.com:port/accesscodeapi/?api_key=apikey&action=get_line&is_trial=1&username=testapiuser3&package=idpackage&allowed_outputs=ts,hls,m3u8


I've tried to create it with the endpoint “allowed_outputs=ts.”, the "action=create_line" and the "is_trial=true" instead "is_trial=1" and the issue is the same.

Even when the demo is created, it is not marked as a "trial" in the panel, the yellow point (see attached photo).
Look the image attached:



The strange thing is that I have a reseller who is doing it and it's working well for him, but he doesn't know why because someone else set it all up for him and it's been difficult for him to contact that person again. The panel I'm using for testing is in the same reseller group as his and we use the same access code. In other words, it's not a matter of permissions because if he can do it, mine should work too. It's not a matter of credits because I have 80 credits in the panel I'm testing, and even so, the demos are free.

I think I'm not entering the correct endpoint, but I really don't know what to do because I don't have that documentation.


If anyone could help me, I would be very grateful.
use action=create_line
but i try use allowed outputs without success, u didi it?
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top