GET
/
workspaces
/
{workspace_id}
curl --request GET \
  --url https://app.getcensus.com/api/v1/workspaces/{workspace_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "id": 123,
    "name": "My Workspace",
    "organization_id": 1,
    "created_at": "2023-09-05T19:42:42.672Z",
    "notification_emails": [
      "notifications@mycompany.slack.com"
    ]
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.

Path Parameters

workspace_id
integer
required

ID of the workspace

Response

200 - application/json
status
enum<string>
required

The outcome of the fetch request

Available options:
success
data
object
required