Skip to Content
GrowSocmedDocsSocial media command center

Get the current user

The signed-in user, the current workspace and every workspace they can open

GET
/me

The signed-in user, the current workspace and every workspace they can open

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Response Body

OK

application/json
  1. response
user*
workspace_id*string
workspaces*array<>
access*
is_admin*boolean
display_mode*string
Value in"business""developer"
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/me'
Example Response200
{  "user": {    "id": "string",    "name": "string",    "email": "string",    "image": "string"  },  "workspace_id": "string",  "workspaces": [    {      "id": "string",      "name": "string",      "role": "string",      "is_default": true    }  ],  "access": {    "role": "string",    "permissions": {      "property1": "string",      "property2": "string"    }  },  "is_admin": true,  "display_mode": "business"}