OAuth
Exchange OAuth token by third-party code
Changed onExchanges a one-time third_party_exchange_code returned by POST /api/v1/oauth/token for the same Aura Historia access token. No client credentials or bearer token are required.
The exchange code expires after 60 seconds and is deleted whether the exchange succeeds or fails due to expiry.
get/api/v1/oauth/tokens/by-third-party-code/{thirdPartyCode}
Request
- Base URL: https://api.stage.aura-historia.com
- URL: https://api.stage.aura-historia.com/api/v1/oauth/tokens/by-third-party-code/{thirdPartyCode}
- Auth: none declared
Path parameters
thirdPartyCodestring uuid required
UUIDv7 one-time exchange code returned by the OAuth token endpoint.
Response
Access token returned successfully for a valid third-party exchange code.
Example response
{
"access_token": "aurahistoria_abcdefghijk_verylongtokenvalue",
"token_type": "BEARER",
"scope": "product-listings:write",
"third_party_exchange_code": "01970f22-2bf0-7000-8000-000000000099"
}Changes
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking