Skip to main content

Login

Link:
Endpoint
EndpointMethod
/authPOST
Body request
{
    "username": "usernew1",
    "password": "abc123",
    "options": {
        "nativeApp": false
    }
}
Properties
Data typeRequiredDescription
usernamestringyes 
passwordstringyes
optionsobject

nativeAppbooleanyesThis 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