GET /api/teams
curl \
-X GET https://checkmango.com/api/teams \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": "1",
"type": "teams",
"attributes": {
"id": 1,
"name": "Waters, Toy and Oberbrunner",
"events_count": 0,
"experiments_count": 0,
"participants_count": 0,
"is_free": false,
"api_requests": 0,
"created": {
"human": "1 second ago",
"string": "2024-04-08 10:42:02"
},
"updated": {
"human": "1 second ago",
"string": "2024-04-08 10:42:02"
}
},
"links": {
"self": {
"href": "http://checkmango.com/api/teams/1"
}
}
},
{
"id": "2",
"type": "teams",
"attributes": {
"id": 2,
"name": "Jones Group",
"events_count": 0,
"experiments_count": 0,
"participants_count": 0,
"is_free": false,
"api_requests": 0,
"created": {
"human": "1 second ago",
"string": "2024-04-08 10:42:02"
},
"updated": {
"human": "1 second ago",
"string": "2024-04-08 10:42:02"
}
},
"links": {
"self": {
"href": "http://checkmango.com/api/teams/2"
}
}
}
]
}
Response examples (403)
{
"message": "Unauthenticated."
}
Response examples (404)
{
"message": "Not Found"
}