Sorry, you need to enable JavaScript to visit this website.

issueAccessTokenUsingPOST

×

Warning message

Remember that the resource URL to this endpoint is just an example.
issueAccessTokenUsingPOST

post

issueAccessTokenUsingPOST

This service creates an access token. It can be either the client_credentials or authorization_code grant types. See the OAuth2 spec for more info. For internal applications, client_credentials is the only grant type applicable.

Resource URL

https://apis.aibgb.co.uk /security/v2/oauth/token

Header Parameters


Name Values Description
Authorization
(required)

Base64 encoded client_id and secret as assigned when registering with the AIB API Gateway

Body Parameters


Name Values Description
grant_type
(required)

OAuth 2 parameter grant_type, only client_credentials and authorization_code currently supported

scope
(required)

This scope allows the above TPP to read selected account balances and transactions

code

OAuth 2 code parameter, required for authorization_code grant type as per OAuth 2 spec, e.g. 1Xt2343ABc1

redirect_uri

OAuth 2 redirect_uri parameter - The TPP's redirect url to receive the authorization code back, e.g.: https://externaltpp.com/security/tokenRedirect

Request Body

token

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request

  • 401
    401

    Not authorized

  • 403
    403

    Forbidden to access this resource

  • 503
    503

    Service unavailable

Resource Summary

Security

Content Type

application/x-www-form-urlencoded

Category

aib-apigee-security-endpoints

Working...