cURL
curl --request POST \ --url https://app.getcensus.com/api/v1/workspaces \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "My Workspace", "notification_emails": [ "notifications@mycompany.slack.com" ], "return_workspace_api_key": true }'
{ "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" ], "api_key": "YourAPIKeyHere" } }
Create a new workspace in the current organization.
Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.
Successfully created a new workspace.
The response is of type object.
object
Was this page helpful?