POST
/oauth/tokenexchangeOAuthToken
Authentication
This operation does not declare an authentication requirement in the API contract.
Request body (required)
FieldTypeDescription
grant_typerequiredunknownValues: "authorization_code", "refresh_token".
codestringredirect_uristring (uri)code_verifierstringrefresh_tokenstringclient_idstringclient_secretstringRequest examples
bash
curl --request POST 'https://api.au.boundry.dev/oauth/token' \
+ -H 'Authorization: Bearer $BOUNDRY_API_KEY' \
+ -H 'Content-Type: application/json' \
+ --data '{"grant_type":"authorization_code","code":"string","redirect_uri":"string","code_verifier":"string","refresh_token":"string","client_id":"string","client_secret":"string"}'200 response
OAuth access and refresh tokens