post
{protocol}://{base-url}/oauth/v1/token
This API lets you generate access & refresh token either by "authorization_code" or "refresh_token" grant type.
Note: This API needs authorization which can be either a Basic Auth as part of header or client_id and client_secret can be passed in request body.