# Workspaces (/growsocmed/docs/developers/workspaces)

One workspace per brand or client, picking the workspace of a request, and moving accounts between workspaces.

A workspace holds its own social accounts, posts, media, ideas, comments, automations, short links, webhooks and members. Agencies usually make one workspace per client.

## Which workspace a request uses [#which-workspace-a-request-uses]

See [REST API → Workspaces](/growsocmed/docs/developers#workspaces): a bound API key or an OAuth token always works in its workspace; an API key for all workspaces takes the `X-Workspace` header (a workspace id), else your oldest workspace.

## Manage workspaces [#manage-workspaces]

| Endpoint | |
| --- | --- |
| [`GET /me`](/growsocmed/docs/api-reference/me/get-me) | You, the workspace of this request and every workspace you can open. |
| [`GET /workspaces`](/growsocmed/docs/api-reference/me/list-workspaces) | Your workspaces with their settings and number of accounts. |
| [`POST /workspaces`](/growsocmed/docs/api-reference/me/create-workspace) | Create a workspace (`name`, up to 80 characters); you own it. |
| [`PATCH /workspaces/{id}`](/growsocmed/docs/api-reference/me/update-workspace) | Owners and admins: `name`, `external_id`, `media_retention_days`, `posting_times`. |
| [`DELETE /workspaces/{id}`](/growsocmed/docs/api-reference/me/delete-workspace) | Owner only, with `confirm_name` set to its name. Deletes its accounts, posts, media and settings. Your last workspace cannot be deleted. |

- `external_id` (up to 200 characters) is free for your own use, for example the id of the client in your CRM.
- `media_retention_days` is how long files stay after their posts are published: `0` (about an hour), `1`, `7` or `30`.
- `posting_times` are the daily `HH:MM` slots the dashboard composer offers.

## Move an account [#move-an-account]

[`POST /accounts/{id}/move`](/growsocmed/docs/api-reference/accounts/move-account) moves a social account to another workspace of the same owner. You must be an owner or admin of both, and use a credential that is not bound to one workspace. The account's scheduled posts in the old workspace are canceled; its comments, DMs and automations go with it (automations stop using the old workspace's AI agents).

## Members and activity [#members-and-activity]

[`GET /members`](/growsocmed/docs/api-reference/members/list-members) lists members with their role and access per feature; owners and admins can [change](/growsocmed/docs/api-reference/members/update-member) or [remove](/growsocmed/docs/api-reference/members/remove-member) them. Invitations are sent from the dashboard. [`GET /activity`](/growsocmed/docs/api-reference/members/list-activity) lists the changes made in the workspace over the last 90 days, from the dashboard, the API and MCP.