Skip to content

Get a user group

GET
/v1/groups/{groupId}
curl --request GET \
--url https://api.roundrobinbot.eu/v1/groups/example \
--header 'Authorization: Bearer <token>'

One Slack user group, from the same synced directory, carrying the @handle it is mentioned by. This is how a user-group id inside a rotation becomes a name somebody recognises.

groupId
required
string

OK

Media typeapplication/json

A Slack user group. Served by GET /v1/groups/{groupId}, from the same synced directory.

object
handle

The @handle the group is mentioned by.

null | string
id

The Slack user-group id.

string
name
null | string
teamId
string
Examplegenerated
{
"handle": "example",
"id": "example",
"name": "example",
"teamId": "example"
}

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"
}

Not Found

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"
}