Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Tutorial XUI.ONE Admin API - Placeholder

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,066
Reaction score
14,798
Points
134
Location
root[@]woi
XUI.ONE Admin API - Placeholder


This is a placeholder post for Admin API information.
It is available in the latest releases and can be enabled by adding an Admin API access code for the Admin user group you want it to apply to. From there you can login as an admin and go to Edit Profile to generate an API key.

You can then access the API via:
http: http://yoursite.com:8000/accesscode/?api_key=#APIKEY#
https: https://yoursite.com:9000/accesscode/?api_key=#APIKEY#

For Example:
https://[domain]:[port]/[accesscode]/?api_key=[api_key]&actoion=[api_command]
https://bestdomain.com:9000/rnVKrSLe/?api_key=1A2C5C80056A80F5AB6ECAD3937875DE&action=get_packages

As a developer, use this as your API endpoint and set the "action" parameter to one of the following API commands:

GET INFO
mysql_query user_info get_lines get_mags get_enigmas get_users get_streams get_channels get_stations get_movies get_series_list get_episodes

LOGS & EVENT API
activity_logs live_connections credit_logs client_logs user_logs stream_errors watch_output system_logs login_logs restream_logs mag_events

LINE API
get_line create_line edit_line delete_line disable_line enable_line unban_line ban_line

USER API
get_user create_user edit_user delete_user disable_user enable_user

MAG API
get_mag create_mag edit_mag delete_mag disable_mag enable_mag unban_mag ban_mag convert_mag

ENIGMA API
get_enigma create_enigma edit_enigma delete_enigma disable_enigma enable_enigma unban_enigma ban_enigma convert_enigma

BOUQUETE API
get_bouquets get_bouquet create_bouquet edit_bouquet delete_bouquet

ACCESS CODE API
get_access_codes get_access_code create_access_code edit_access_code delete_access_code

HMAC API
get_hmacs get_hmac create_hmac edit_hmac delete_hmac

EPG API
get_epgs get_epg create_epg edit_epg delete_epg reload_epg

GROUPS API
get_groups get_group create_group edit_group delete_group

PACKAGES API
get_packages get_package create_package edit_package delete_package

TRANSCODING PROFILE API
get_transcode_profiles get_transcode_profile create_transcode_profile edit_transcode_profile delete_transcode_profile

RTMP API
get_rtmp_ips get_rtmp_ip create_rtmp_ip edit_rtmp_ip delete_rtmp_ip

CATEGORIES API
get_categories get_category create_category edit_category delete_category

SUB RESELLER API
get_subresellers get_subreseller create_subreseller edit_subreseller delete_subreseller

WATCH FOLDERS API
get_watch_folders get_watch_folder create_watch_folder edit_watch_folder delete_watch_folder reload_watch_folder

BLOCKED ISP & IP API
get_blocked_isps add_blocked_isp delete_blocked_isp get_blocked_uas add_blocked_ua delete_blocked_ua get_blocked_ips add_blocked_ip delete_blocked_ip flush_blocked_ips

STREAMS API
get_stream create_stream edit_stream start_stream stop_stream delete_stream

CHANNEL API
get_channel create_channel edit_channel start_channel stop_channel delete_channel

STATION API
get_station create_station edit_station start_station stop_station delete_station

MOVIE API
get_movie create_movie edit_movie start_movie stop_movie delete_movie

SERIES API
get_series create_series edit_series delete_series

EPISONE API
get_episode create_episode delete_episode edit_episode start_episode stop_episode

SERVERS API
get_servers get_server install_server delete_server edit_server install_proxy edit_proxy

SETTINGS, STATS AND OTHER API
get_settings edit_settings get_server_stats get_fpm_status get_rtmp_stats get_free_space get_pids get_certificate_info reload_nginx clear_temp clear_streams update_blacklist get_directory kill_pid kill_connection reload_cache

Upcoming API information will help identify what each function does, and what parameters can be submitted.
For now, if you want to poke around I suggest using the Admin Interface with Developer Tools enabled and log any traffic to post.php. The parameters sent there will be the same parameters you can send to the API function it relates to.

For example if you go to Streams and add a stream, you can log post.php and submit the same request to the create_stream function to replicate it.
To edit a stream, pass the id with it too.

Some of the functions are server specific, so send server_id with them, for example:
get_server_stats, get_fpm_status, get_rtmp_stats, get_free_space, get_pids, get_certificate_info, reload_nginx, clear_temp, clear_streams, update_blacklist, get_directory

Line Example - Editing line #4 to change password to helloworld and select bouquets 1 and 2:
action=edit_line&id=4&username=test&password=helloworld&bouquets_selected[]=1&bouquets_selected[]=2

More info soon, post any questions below and I'll answer them for you. Included an extract from the API so you can kind of see what's going on.
 

Attachments

  • admin_api_info.txt
    48.1 KB · Views: 418
Last edited:

Sami_boxy

Extended Member
Ext. Member
Joined
Sep 23, 2019
Messages
13
Reaction score
11
Points
14
Location
Cool2019
hey please we are making a generic player that is already working with the XC player api , but we heard the xui one player api is different from the , if yes please provide us with any information
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

redhat

Administrator
Staff member
Administrator
Chief Moderator
Moderator
Joined
Jun 19, 2019
Messages
3,066
Reaction score
14,798
Points
134
Location
root[@]woi
im in trouble on "bouquet and allowed_outpus someone maybe helpme


how i can fill to ??? on that api code?

I try it with:
https://mdomain.com:9000/rTITIoWd/?api_key=2C097DCA660A604A439FF7A711206003&action=create_line&is_trial=1&username=testapiuser3&exp_date=1hour&bouquets[]=1&output_formats[]=1

and as well with:
https://mdomain.com:9000/rTITIoWd/?api_key=2C097DCA660A604A439FF7A711206003&action=create_line&is_trial=1&username=testapiuser3&exp_date=1hour&bouquets=1&allowed_outputs=1

But unfortunately, i didn't had luck. May some members can help with.
 

magtv

Extended Member
Ext. Member
Joined
Oct 20, 2019
Messages
191
Reaction score
66
Points
39
Location
Germany
How to find out the API PINNEL Xtreme. ui
 

PYTH@N

Banned
Banned
Ext. Member
Joined
Jan 21, 2020
Messages
36
Reaction score
119
Points
44
Location
EARTH
im in trouble on "bouquet and allowed_outpus someone maybe helpme





how i can fill to ??? on that api code?
PS: i have not used this this yet but for output and bouquet 1 or 0 or even numbers does not make sense if you check attached text file and api file..
It is does not request for Bouquet ID -- but for name and for output you can pass valid arg i.e ts or hls or mpxxxx

"STATUS_SUCCESS", "data" => getBouquets()

I think this should work: while bouquets=UK ( UK is name of bouquet for multiple it show accept as UK,US,ETC )

 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

vette

Basic Member
Basic Member
Ext. Member
Joined
Apr 26, 2023
Messages
5
Reaction score
0
Points
4
Location
USA
Is there an API call to disable the ISP lock? For some reason by default it gets turned on by my WHMCS module even though it wouldn’t if I created the line directly so I would like to create a script to turn it off after the line is created.
 

worldwideiptv

Basic Member
Basic Member
Joined
Dec 6, 2021
Messages
4
Reaction score
0
Points
1
Location
MX
I can't download the API documentation, I get this error:
You do not have permission to view this page or perform this action.

How can I access the documentation?
 

guetteur

Moderator
Staff member
Moderator
Ext. Member
Joined
May 20, 2023
Messages
126
Reaction score
34
Points
39
I can't download the API documentation, I get this error:
You do not have permission to view this page or perform this action.

How can I access the documentation?
Upgrade your account?
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

WinniePooh

Basic Member
Basic Member
Joined
Nov 21, 2021
Messages
4
Reaction score
1
Points
14
Location
USA
For anyone still stuck with the bouquets, it needs to be first action after create_line. See below.

&action=create_line&bouquets_selected=["1","7","8","9","12","15"]
 
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock