Get Team.

GET /api/teams/{team}

Path parameters

  • team integer Required

    The ID of the team to show.

Query parameters

  • include string

    Comma-separated list of relationships to include in the response.

Responses

GET /api/teams/{team}
curl \
 -X GET https://checkmango.com/api/teams/15 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "3",
    "type": "teams",
    "attributes": {
      "id": 3,
      "name": "Abbott LLC",
      "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/3"
      }
    }
  }
}
Response examples (403)
{
  "message": "Unauthenticated."
}
Response examples (404)
{
  "message": "Not Found"
}