Skip to main content

Microsoft Sign In Mobile

POST

https://domain/api/id/v1/authentications/microsoft-signin-fm-mobile-app

Request Model

NameDescriptionRequiredType
StateCodeTemp code from oauth2 processRequiredstring
EmailUser emailRequiredstring

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."
}