BioStar 2 - New API in BioStar 2.7.10

BioStar 2 - New API in BioStar 2.7.10

A new API has been released with BioStar 2.7.10.


There is the main difference from the old API server that new API does not require a separate API server installation for using API. Just install or upgrade BioStar 2.7.10 to use a new API.


* Please note that the old Local API server(v2.6.3)is compatible with BioStar 2.7.10.


How to access that Swagger of new API.

The way how to access the Swagger of the new API is changed from before. Please refer to the screenshot below.

  - [BioStar 2 address] + '/swagger/index.html'

    eg,) BioStar 2 address> https://192.168.16.35:456

           New BioStar 2 API Swagger> https://192.168.16.35:456/swagger/index.html





Also, there are 2 main differences between the old API Swagger and the new API.


1. Need to additional save cookie information after login.

  > How to save cookie information? 

  1. Success to login using the API that '[POST] /api/login'

  2. Get the cookie from the response.
  3. Click the button named 'Authorize'
  4. Save the result of cookie what you get from the response.


If you are the success that saves the cookie, you can find the lock icon's share is changed.


  * If you have the issue about 'session-id', please refer to the article below.

[BioStar 2 API] LOGIN REQUIRED error - Session is expired


2. Expanded that available features with API

Before in the old API, the API supported the restricted features of BioStar 2's AC. 

But, the new API supports all of BioStar 2's AC features. For more information, please refer to the new API Swagger.



* If you are using the port 443 to connect BioStar 2, please click the below link to connect to the new API Swagger.


NEW BioStar 2 API


    • Related Articles

    • BioStar 2 - API & SDK Quick Start Guide

      Links Our API and SDK manuals are available for public view in the links below:  BioStar 2 API version 2 (for BioStar 2.4 and above) BioStar 2 Device SDK  API  In order to use our API, you must use BioStar 2 and configure BioStar 2 Cloud feature.  ...
    • BioStar 2 - API and Ecosystem

      There has been an increase in demands for multiplatform as smart devices are getting popularity in the recent it market. At the same time, applications and APIs that support these smart devices are becoming more important than ever. BioStar 2, an ...
    • BioStar 2 - How to backup and Restore the Database in BioStar 2

      BioStar 2's database has gone through a few changes since it's release.  The AC database started out with the SQLite Database and in version 2.2.1, the MariaDB T&A database was released.  Starting version 2.3, both databases became Maria DB by ...
    • BioStar 2 - V2.6 and later - AC Licenses, which ones are available and what functions do they contain?

      Warning! Starting from BioStar V2.6.0 the licensing of BioStar 2 is changed. In the past all basic functions where free without any limit on users, doors and devices. Starting from V2.6.0 the standard functions of access control are usable free of ...
    • Biostar - Upgrade Biostar 1 naar Biostar 2

      Gebruikt u nog Biostar 1.x software? Dan verzoeken wij u om deze te upgraden naar Biostar 2.  Biostar 1 wordt niet meer ondersteund sinds Juli 2021. Hieronder een beschrijving hoe u dit kan doen. 1.      Upgrade a.u.b. altijd naar BioStar 1.93 ...