Skip to content

Get the workspace

GET
/v1/team
curl --request GET \
--url https://api.roundrobinbot.eu/v1/team \
--header 'Authorization: Bearer <token>'

The Slack workspace this key belongs to, and what its plan allows. Read the plan’s ceilings before a provisioning script hits them, rather than finding out from a refusal halfway through.

OK

Media typeapplication/json

The workspace the calling key belongs to.

object
domain

The workspace’s Slack domain, the {domain} in {domain}.slack.com.

null | string
enterpriseId

The Enterprise Grid org id, when the workspace belongs to one.

null | string
id

The Slack workspace id.

string
isEnterpriseInstall

True when Round Robin is installed org-wide on an Enterprise Grid org rather than into this one workspace.

boolean
name
string
plan

What the workspace’s plan allows.

object
code

The plan’s code, as billing knows it.

null | string
maxRotations

The most rotations the workspace may have enabled, or -1 for unlimited.

integer format: int64
maxUsers

The most distinct people the workspace may have across its enabled rotations, or -1 for unlimited.

integer format: int64
paid
boolean
Examplegenerated
{
"domain": "example",
"enterpriseId": "example",
"id": "example",
"isEnterpriseInstall": true,
"name": "example",
"plan": {
"code": "example",
"maxRotations": 1,
"maxUsers": 1,
"paid": true
}
}

Unauthorized

Media typeapplication/json
object
detail
null | string
instance
null | string
status
null | integer format: int32
title
null | string
type
null | string
Examplegenerated
{
"detail": "example",
"instance": "example",
"status": 1,
"title": "example",
"type": "example"
}

Forbidden

Media typeapplication/json
object
detail
null | string
instance
null | string
status
null | integer format: int32
title
null | string
type
null | string
Examplegenerated
{
"detail": "example",
"instance": "example",
"status": 1,
"title": "example",
"type": "example"
}