Refresh Managed User Token
Public Beta Feature
This documentation covers a feature currently in Public Beta. Access is available to anyone interested in building personalized experiences for their end-users.
This feature is subject to the Personalization API (Self-Service) Public Beta End user License Agreement.
Foursquare Service Account Required
These endpoints require the use of a Foursquare Service Account that acts on behalf of your application. Please make sure you've created a Service Account and use the associated API Key when making calls to the following endpoints.
For more information, please read Service Account Authentication.
API Version
string
required
The API version date as documented here; e.g. 20231010
userId
string
required
The ID of the managed user to refresh a token for.
200
object
Response object containing information about the successful refresh of a user's access token.
meta
object
Metadata object containing additional information about the successful refresh token response.
response
object
Object containing the retrieved data for a successful refresh token request.
oauth_token
string
The response contains the OAuth token for refreshing user management data.
400
curl --request POST \
--url https://api.foursquare.com/v2/usermanagement/refreshtoken \
--header 'accept: application/json'
{
"meta": {},
"response": {
"oauth_token": "987654321"
}
}