Token API

The token API is for requesting access tokens issued by our IoT identity provider.

Token Endpoint

Use this endpoint to request a new access token by authenticating with a private key JWT.

For additional details about the JWT visit our developer guide.

Request a token

POST https://iot-idp.demo.apps.iothentix.io/as/token

Request an access token by authenticating with a signed JWT.

Headers

Request Body

{
    "access_token": "<ACCESS_TOKEN>",
    "expires_in": 3599,
    "scope": "<REQUESTED_SOCPE>",
    "token_type": "bearer"
}

Renew Token Endpoint

Use this endpoint to renew the access token based on a previously issued access token.

Refresh the token

POST https://iot-idp.demo.apps.iothentix.io/as/renew/token

Request a new access token by authenticating with a previously issued access token.

Headers

Request Body

{
    "access_token": "<ACCESS_TOKEN>",
    "expires_in": 3599,
    "scope": "REQUESTED_SOCPE",
    "token_type": "bearer"
}

Last updated