Fetch authenticated workspace
Retrieve the details of the workspace authenticated with the current Workspace API Token.
Request schema
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Http + 1.1
GET
https://app.getcensus.com/api/v1/workspace
GET /api/v1/workspace HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
Successfully retrieved authenticated workspace details.
401
Invalid credentials for the requested resource.
200
status
stringrequired
The outcome of the fetch request
enum:
data
objectrequired
id
integer
The id of the retrieved workspace.
example:
name
string
The name of the workspace. Must be unique within the organization.
example:
organization_id
integer
The id of the organization the workspace belongs to.
example:
created_at
string
The timestamp of when the workspace was created.
format:
example:
notification_emails
array
The list of emails that will receive alerts from the workspace.
example:
type:
401
status
integer
HTTP status code.
enum:
{ "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" ] } }