API 参考Me
Create a workspace
Create a workspace (you own it) and switch to it
POST
Create a workspace (you own it) and switch to it
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
application/json- body
name*stringLength
1 <= length <= 80Created
application/json- response
id*stringname*stringrole*stringis_default*booleancurl -X POST 'https://socmed.growpaces.com/api/v1/workspaces' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response201
{ "id": "string", "name": "string", "role": "string", "is_default": true}