Omada V2 API
How does one get info on the V2 API? I see on previous posts it was provided for V1, but nothing on the newest. I am currently running the Omada V4 Controller Software.
Example - https://community.tp-link.com/en/business/forum/topic/156627
Please advise.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@sic Yes, I found that you need to store cookies and add the Csrf-Token token to subsequent requests as you can see from my curl example above.
- Copy Link
- Report Inappropriate Content
Moving on to ask if there has been any progress on the API documentation (I say for something decent).
I have the documents for api v4.1.5 and for v5.0.15, and comparing them I saw an improvement in the description of the endpoints, but:
- No more information about login endpoints;
- No information on how to handle the login token or other information received to make subsequent requests.
I saw in previous posts that some colleagues have already posted how to solve the login problem, but I keep thinking: do they really not care about this?
- Copy Link
- Report Inappropriate Content
I hope someone will create a sample PHP implementation of this SDK.
- Copy Link
- Report Inappropriate Content
Does anyone know if this API will allow you to control a PoE port? I am looking to turn off APs and a few other PoE devices, and I'd rather not do it with PoE injectors. I know this is possible to do with UniFi. I looked through the API documentation and it does not show anything about port cycling that I saw.
Thanks!
- Copy Link
- Report Inappropriate Content
Anything that can be done through the WebUI should ultimately be possible through the API.
The WebUI is really just an interface to the API, anyhow.
The problem with the API is that there is no up-to-date documentation and it doesn't look like that is a top priority for the company. So, it's mostly guesswork and capturing the requests from a browser to determine the proper calls.
- Copy Link
- Report Inappropriate Content
Ah, I see. Has anyone been able to get a working python script that communicated with version 5 of the omada controller? API v2? I have seen one that works for the previous generations but not for this one.
- Copy Link
- Report Inappropriate Content
Hi Fae,
Just wanted to find out if you already have a decent API documentation for version 5.7/5.8? It has been a while since 5.1 was released. Or anything above 5.0.15?
Thanks.
Or if anyone here has found one on the net, appreciate the link.
Thanks.
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
I have a quick question.
Does this API work on Internet Cloud or LAN only?
What is the login address if it works on the Internet?
- Copy Link
- Report Inappropriate Content
Hi all,
I would like to provide updated information related to the Omada API here.
- About Omada API Documentation
Currently, Omada API can be classified into Web API and Open API, whose documentations are different.
- The attachment is the latest Omada Web API documentation, which is mainly applicable to Omada SDN Controller v5.9.
Notes:
1) Web API may change with Omada Controller version iterations. The attached Web API documentation shall only be used as
a reference to other Omada SDN Controller versions.
2) For API samples, please refer to API and Code Sample for External Portal Server (Omada Controller 5.0.15 or above)
- Here is the online documentation for Omada Open API: https://use1-omada-northbound.tplinkcloud.com/doc.html#/home
Notes:
1) All Omada Pro versions support Open API.
2) Omada Software/Hardware Controller support Open API since Controller v5.12.
3) Omada Cloud-Based Controller (CBC) does NOT support Open API yet (as of December 12, 2023).
- About Omada API Version
The “v2” mentioned in the API request example “${OMADA_URL}/${CONTROLLER_ID}/api/v2/users/…” is actually the version of the Omada Web API. Please note that Omada Open API currently only has the V1 version.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 33790
Replies: 50
Voters 0
No one has voted for it yet.