List all teams
Example Request & Response
$ curl https://api.intercom.io/teams \
-H 'Authorization:Bearer <Your access token>' \
-H 'Accept: application/json'
HTTP/1.1 200 Ok
{
"teams": [
{
"admin_ids": [
492881,
1195856
],
"id": "814865",
"name": "BA_App",
"type": "team"
},
{
"admin_ids": [
646303,
814860
],
"id": "2744328",
"name": "the_a_team",
"type": "team"
}
],
"type": "team.list"
}
You can fetch a list of all teams for a given workspace.
Response
This will return a list of team objects for the App. The result may also have a pages
object if the response is paginated.
Team List
Attribute | Type | Description |
---|---|---|
type | string | Value is 'team.list' |
teams | array | A list of team objects |
pages | object | Optional. A pagination object, which may be empty, indicating no further pages to fetch. |