Skip to main content

Sign In

POST

https://domain/api/id/v1/authentications/login-fm

Request Model

NameDescriptionRequiredType
GrantTypepassword or refresh-tokenRequiredstring
UserNamestring
RefreshTokenstring
Passwordstring
RememberMeboolean
RecaptchaTokenstring

Response

CodeDescription
200
Success.
401
Unauthorized.
404
Not Found.
500
Error From Server.

Response Model

NameDescriptionType
UserEmailstring
AccessTokenstring
ExpiresAtDate
IsAdminboolean
IsBannedboolean
RefreshTokenExpirationstring
RefreshTokenstring
Rolestring

Example Usage

function helloWorld() {
console.log("Hello, world!");
}

Example Success Response

[
{
"id": 133024,
"name": "Mumbai"
},
...
]

Example Error Response

{
"error'": "Unauthorized. You shouldn't be here."
}