/
Authentication REST API Interface
Authentication REST API Interface
Resource URL Summary
Create JWT Token
POST <REST Endpoint URI>
HTTP Headers
HTTP Header | Value |
---|---|
Content-Type | application/json |
API Specifics
Create JWT Token
This REST API must authenticate user's credentials. If the credentials passed in are verified, then this API must return a valid JWT, which ServiceMobility will then use to allow access other REST APIs.
URL
POST <REST Endpoint URI>
HTTP Request Body
The HTTP will contain a valid Authentication Object.
HTTP Response
Response Codes
HTTP Code | Description |
---|---|
200 | OK. Credentials were verified and a valid JWT was returned. |
401 | Invalid Logon. |
500 | Server error. An error occurred while processing the request. The HTTP response body should have more details as to the possible cause. |
On success, an HTTP response code of 200 must be returned, and the response body must contain a valid JWT token.
Response Object Format
{ "token": "" }
Response Object Properties
Required properties are in bold.
Property | Description | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
token | The
|
, multiple selections available,
Related content
Create JWT REST API
Create JWT REST API
More like this
Standard HTTP Headers
Standard HTTP Headers
More like this
REST Other OAuth2 Token API
REST Other OAuth2 Token API
More like this
Authentication Object
Authentication Object
More like this
Authorization Settings REST API
Authorization Settings REST API
More like this