### 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](https://location.foursquare.com/legal/terms/personalization-apis-self-service-eula/).

### Foursquare Service Account Required

These endpoints require the use of a [Foursquare Service Account](https://location.foursquare.com/developer/docs/manage-your-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](https://location.foursquare.com/developer/v0.3/reference/user-management-api).

## API Parameters

### version

string

required

The API version date as documented [here](https://docs.foursquare.com/developer/reference/versioning); e.g. 20231010

### userId

string

required

The ID of the managed user to request data retrieval for.

## Responses

### 200

```json
{
  "exportRequestId": "987654321"
}
```

The response when exporting a user from the user management system.

#### exportRequestId

string

Unique identifier for the user export request.

### 400

#### Updated 5 months ago

## Example Request

```bash
curl --request POST \
     --url https://api.foursquare.com/v2/usermanagement/exportuser \
     --header 'accept: application/json'
```
