# List workspaces (/th/growsocmed/docs/api-reference/me/list-workspaces)

Your workspaces with their settings and number of accounts

GET /workspaces

```json
{
  "tags": [
    "Me"
  ],
  "summary": "List workspaces",
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "role": {
                      "type": "string"
                    },
                    "is_default": {
                      "type": "boolean"
                    },
                    "external_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "media_retention_days": {
                      "type": "number",
                      "description": "Days files stay after their posts are published: 0 (about an hour), 1, 7 or 30"
                    },
                    "posting_times": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Daily \"HH:MM\" slots the composer offers"
                    },
                    "accounts": {
                      "type": "number"
                    },
                    "created_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "role",
                    "is_default",
                    "external_id",
                    "media_retention_days",
                    "posting_times",
                    "accounts",
                    "created_at"
                  ]
                }
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    }
  },
  "operationId": "list-workspaces",
  "description": "Your workspaces with their settings and number of accounts"
}
```