Skip to content

Get access token

POST
/realms/master/protocol/openid-connect/token

Returns the access token needed to consume Extracto services.

Request Body

object
client_id
required

You received this value in your email when you initiated the service agreement.

string
client_secret
required

You received this value in your email when you initiated the service agreement.

string
scope
required
string
Allowed values: openid
grant_type
required
string
Allowed values: client_credentials

Responses

200

Success

object
access_token

Bearer token to consume protected endpoints

string
expires_in
number
refresh_expires_in
number
token_type
string
id_token
string
not-before-policy
number
scope
string

400

Bad Request

object
error
string
error_description
string

401

Unauthorized

object
error
string
error_description
string