v2

latestOpenAPI 3.0.12026-07-2693281951.6 KB
Consents

Exchange OAuth2 Code

Used to obtain a Yapily Consent object containing the consentToken once the user has authenticated and you have an OAuth2 authorisation code auth-code and state auth-state.

post/consent-auth-code

Request body

authCodestring required

Mandatory. The authorisation code

authStatestring required

Mandatory. The authorisation state

Example request

{
  "authCode": "6b965fbb-ff09-4afa-b897-90c34797cb8f",
  "authState": "1270cb2ffc4842b78953afa2228e0a87"
}

Response

Ok