Get the current user
The signed-in user, the current workspace and every workspace they can open
GET
The signed-in user, the current workspace and every workspace they can open
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
OK
application/json- response
user*workspace_id*stringworkspaces*array<>access*is_admin*booleandisplay_mode*stringValue in
"business""developer"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"}