POST  oauth/token Back to API Home

Refreshes Access token and returns a JSON string with new Access token and Refresh token.

Resource URL

https://www.efilenysclaims.com/NYSIF/oauth/token

Request Format

Request format should be x-www-form-urlencoded format.

Parameters

required Value should be "refresh_token".
required Your Refresh token value. Used to refresh Access token.
required Your client id. A unique id assigned to your account.
required Your Client Secret. A private secret key assigned to your account.

Example Request

POST https://www.efilenysclaims.com/NYSIF/oauth/token

Example Response

{
	access_token: "*************************"
	token_type: "bearer"
	refresh_token: "***************************"
	expires_in: 3599
	scope: "write read"
}

Error Response

{
	error: "invalid_grant"
	error_description: "Invalid refresh token: ******************************"
}