document.write("

Authentication

\n

The following headers are required for all requests:

\n

Headers

\n
"X-Api-Key": [key]\n"X-Api-Token": [token]\n
\n

The API key and token can be found at: https://app.cacher.io/enter?action=view_api_creds

\n

List teams

\n

Get all teams accessible to the authenticated user.

\n

GET: https://api.cacher.io/v1/teams

\n

Request

\n

Query Params

\n

None

\n

Response

\n

Body

\n
{\n  teams: [\n    {\n      name: "Dev Ops",\n      screenname: "dev-ops",\n      guid: "2d7d9a32fa5d30131f63",\n      createdAt: "2018-12-31T21:15:22Z",\n      updatedAt: "2019-03-26T15:20:44Z",\n      members: [\n        {\n          id: 6,\n          name: "Lydia",\n          email: "lydia@example.com",\n          image: null,\n          nickname: "lydia"\n        }\n      ],\n      managers: [],\n      owner: {\n        id: 8,\n        name: "Rui",\n        email: "rui@cacher.io",\n        image: "https://avatars3.githubusercontent.com/u/570858?v=4",\n        nickname: "rui"\n      }\n    },\n    ...\n  ]\n}\n
\n
analytics_api.md - Snippet hosted by \"Cacher\"
");