Make your product
work with UP.

Refresh Token

Retrieve the user refresh token

This endpoint allows you to retrieve the user's refresh token. This should have been passed to you when you authenticated the user and received their access token. However, if needed you can have the refresh token reissued here. More details on using the refresh token available on the Authentication page.
URI Method Response Type Returns
/nudge/api/v.1.1/users/@me/refreshToken POST application/json RefreshToken
Parameter Type Description
secret string Your app client secret. Do not pass in the query string.

Example:

POST https://jawbone.com/nudge/api/v.1.1/users/@me/refreshToken HTTP/1.1
Host: jawbone.com
Content-Type: application/x-www-form-urlencoded
secret=xx01xx01xx01xx
	

Will return:

HTTP 200 OK
{
   "meta": 
   {
      "user_xid": "6xl39CsoVp2KirfHwVq_Fx",
      "message": "OK",
      "code": 200
      "time": 1391736999
   },
   "data":
   {
      refresh_token: "XXXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
   }   
}
	
Data Value Type Description
refresh_token string Refresh token for user.