GET /v1/obie/token/{token}

Archived documentation

This documentation refers to V1.6. See Release Notes for more information.

Overview

This endpoint retrieves information on an access token.

https://sandbox.konsentus.com/v1/obie/token/{token}

Request Properties

Headers

Authorization REQUIRED
string
Basic Auth Header
fi_reference_id REQUIRED
string
The local National Competent Authority (NCA) reference for the ASPSP making the request

Authentication Headers

x-ccg-token REQUIRED
string
Client credentials grant token

Client Credentials Grant Token

Path Parameters

token REQUIRED
string
The access token generated by Konsentus.

Response Properties

data object
response data
access_token string
The access token generated by Konsentus. The authorization code is bound to the client identifier and redirection URI. If grant_type in the request was set to client_credentials then the token in the response will be hardcoded to good-access-token.
expires_in integer
If the access token expires, the server replies with the duration of time the access token is granted for.
token_type string
The type of token, typically just the string 'bearer’.
active boolean
It says whether the token is expired or deleted.
error object

        See error documentation for fields and descriptions

Responses

200

Request successful and access token information retrieved.

{
  "data": {
    "access_token": string,
    "expires_in": integer,
    "token_type": string,
    "active": boolean,
  }
}

401

Unable to Authorize.

{
  "errors": [{
    "id": string,
    "code": string,
    "title": string,
    "link": string
  }]
}

404

Not Found.

{
  "errors": [{
    "id": string,
    "code": string,
    "title": string,
    "link": string
  }]
}

Response Example

200 OK

Success

{
  "data": {
    "access_token": "8c9378f8-e27f-4e0a-a643-d73585d1249f",
    "expires_in": 31104000,
    "token_type": "bearer",
    "active": true,
  }
}
Last Updated: 5/19/2020, 1:14:29 PM