---
title: "Save the account the user picked"
method: PUT
path: "/me/selected-account"
tags: ["Accounts"]
---

# Save the account the user picked

`PUT /me/selected-account`

## Request

- Base URL: `https://www.sociahive.com/api/v1`
- URL: `https://www.sociahive.com/api/v1/me/selected-account`
- Auth: one of:
  - API key in header `X-API-Key`
  - OAuth 2 (authorization code, authorization URL `/api/oauth/authorize`, token URL `/api/oauth/token`, scopes: `accounts:write`)

Records the account the user picked in a client switcher, so a new browser, device or install opens on it. The client keeps its own choice; this only records it. 403 feature_disabled while the feature is off for the user; 404 when the account is not the user's or is disconnected.

## Request body

- object
  - `account_id` string, required

## Response `200`

Saved

- object
  - `saved` boolean, required

## Other responses

- `400`: Bad request — invalid parameters
- `401`: Authentication required — provide X-API-Key or Bearer token
- `403`: Insufficient scope for this operation
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/sociahive/apis/sociahive-api.md) · [All operations](https://skmtc.dev/sociahive/apis/sociahive-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sociahive/apis/sociahive-api/revisions/791b8548d288?raw)
