Use “password” to authenticate with credentials, and “refresh_token” to renew the access_token.
The Id of the type of client authenticating, e.g. “InternalApi”, “ngPublicApp”, “mobileApp”, “ngUnderwriterApp”. Required for both the “refresh_token” and “password” grant_types.
The user’s login. In most cases this is the user’s email address. Required when using the “password” grant_type.
The user’s password. Required when using the “password” grant_type.
The client user interface type Id. Values to choose from are 1 (Public website), 2 (CSC website), 3 (Mobile app), 5 (Partner website) and 6 (Underwriter website). Required when using the “password” grant_type.
The type id of the user trying to authenticate. Defaults to 1 (customer). Other values are 2 (Employee), 3 (Assistance Provider), 4 (Partner), 5 (Underwriter).
The refresh token to use for renewal of the access token. Required when using the “refresh_token” grant_type.
Authentication result
Seconds until expiry.