Skip to main content
POST
/
api
/
directory
/
teams.show
Show a team
curl --request POST \
  --url https://api.example.com/api/directory/teams.show \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358"
}
'
{
  "id": "872815618512410358",
  "name": "<string>",
  "short_name": "<string>",
  "parent": {
    "id": "872815618512410358",
    "name": "<string>"
  },
  "children": [
    {
      "id": "872815618512410358",
      "name": "<string>"
    }
  ],
  "enabled": true,
  "external_id": "<string>",
  "color": "<string>"
}

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

Response

200 - application/json
id
string<snowflake>
required
Example:

"872815618512410358"

name
string
required
short_name
string | null
required
parent
object
required
children
object[]
required
enabled
boolean
required
external_id
string | null
required
color
string | null
required