Skip to main content

Login USAPI

Link:
Endpoint
Endpoint Method
/auth POST
Body request
{
    "username": "usernew1",
    "password": "abc123",
    "options": {
        "nativeApp": false
    }
}
Properties
Data type Required Description
username string yes  
password string yes
options object

nativeApp boolean yes This value determines whether the payload is coming from Mobile Apps ONAPPS (nativeApp: true) or not.


Result example

OK (200)

{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2Vy"
}
Error example

Body request example

insert code here