API Management Service

The API management microservice provides services to create, manage and validate API tokens to register mobile and desktop apps, and to issue and refresh API tokens of registered mobile and desktop app devices.

Get a new bearer token

post

This API is used to obtain a bearer token

  • Required fields cannot be left null or empty
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
consumerstringRequired

Append any text to the request URL

Example: mobile_device
Body

A unique key which helps in identifying the token

Responses
200

OK

application/json
post
/api-manager/v1/consumer/{consumer}/credential/register

Get a new bearer token

post

This API is used to obtain a bearer token

  • Required fields cannot be left null or empty
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
consumerstringRequired

Append any text to the request URL

Example: mobile_device
Body

A unique key which helps in identifying the token

Responses
200

OK

application/json
post
/api-manager/v2/consumer/{consumer}/credential/register

Get a new access token

post

This API is used to obtain a new access token

  • Required fields cannot be left null or empty
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Refresh Token

refresh_tokenstringRequired
Responses
200

OK

application/json
post
/auth/v1/refresh/token

Get API token

post

This API is used to get the token.

  • /consumer/desktop_device/credential/register/ endpoint helps to get the token.
  • Required fields cannot be left null or empty
Header parameters
Content-TypestringRequired

The Content Type entity is the media type of the resource.Possible media types can be:-

  • Application/json
  • Multipart/form-data
  • Application/x-www-form-urlencoded
AuthorizationstringRequired

To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.

Body
Responses
200

SUCCESS. The operation was successful!

application/json
post
/api-manager/v2/consumer/desktop_device/credential/register

Last updated

Was this helpful?