Teams
Get teams
Returns a list of teams objects.
Request parameters
Request
curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X GET "https://integrate.browserstack.com/api/collaboration-tools/v1/teams?unique_user_id=steve@acme.com&tool=slack"
-
unique_user_id* String
Unique identifier for user e.g. email ID
-
tool* String
Name of the tool. Allowed values are
slack
,msteams
-
as_bot boolean
Indicator that allows you to identify the source/sender of a message as a bot. By using this field, you can attribute messages to a bot entity, distinguishing them from messages originating from user accounts.
Response attributes 200
application/json
Response
{
"success": true,
"data": {
"field": {
"label": "Workspace",
"key": "team_id"
},
"teams": [
{
"key": "X00XXX!XXX0",
"label": "TEST TEAM"
},
{
"key": "Y00YYY!YYY0",
"label": "TEST TEAM 2"
}
]
}
}
-
success Boolean
Operation was a success or failure.
-
data Object
List of all teams (/workspaces)
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.