Skip to navigation

Refresh Access Token

View as Markdown

This API is used to generate a fresh access token without re-entering username and password.
The refresh_token obtained from the initial request must be supplied.

Request

This endpoint expects an object.
client_idstringRequired
Request credential from admin. It is from EAM portal.
grant_typestringRequired

Fixed as “refresh_token”

client_secretstringRequired

Paired with client_id, also from the EAM portal.

refresh_tokenstringRequired

refresh_token obtained from the initial request

serviceConnectionstringRequired

Service Connection is a parameter to distinguish or specify the connection or tenant, especially in multi-tenant or multi-service environments. This field is optional. Get the value from IT or check in web.config. If client don’t have multi-tenant setups, may leave it out.

Response headers

PragmastringOptional
ExpiresstringOptional
Cache-ControlstringOptional
X-Frame-OptionsstringOptional
X-XSS-ProtectionstringOptional
X-Content-Type-OptionsstringOptional
Content-Security-PolicystringOptional
Strict-Transport-SecuritystringOptional

Response

OK
expires_ininteger
token_typestring
access_tokenstring
refresh_tokenstring