ข้ามไปยังเนื้อหา
GrowSocmedเอกสารSocial media command center

Get a workspace

One of your workspaces

GET
/workspaces/{id}

One of your workspaces

Authorization

apiKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Formatuuid

Response Body

OK

application/json
  1. response
id*string
name*string
role*string
is_default*boolean
external_id*string|null
media_retention_days*number

Days files stay after their posts are published: 0 (about an hour), 1, 7 or 30

posting_times*array<string>

Daily "HH:MM" slots the composer offers

accounts*number
created_at*string
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response200
{  "id": "string",  "name": "string",  "role": "string",  "is_default": true,  "external_id": "string",  "media_retention_days": 0,  "posting_times": [    "string"  ],  "accounts": 0,  "created_at": "string"}