Langkau ke kandungan
GrowSocmedDokumentasiSocial media command center

Create a workspace

Create a workspace (you own it) and switch to it

POST
/workspaces

Create a workspace (you own it) and switch to it

Authorization

apiKey
headerAuthorizationBearer <token>

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

Request Body

application/json
  1. body
name*string
Length1 <= length <= 80

Response Body

Created

application/json
  1. response
id*string
name*string
role*string
is_default*boolean
Example Request
curl -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}