Teams

GET /teams

Endpoint

GET /api/v2/teams

Parameters

Name Description type
uid required Team UID string
team[name] required Team name string

Request

Route

GET /api/v2/teams

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 4xaax9ngl_i0ZIisgNrMQw
Client: ph0kvaqURayfw30oaCC7BQ
Uid: test@example.com

Response

Status

200

Headers

Content-Type: application/json; charset=utf-8
Access-Token: 4xaax9ngl_i0ZIisgNrMQw
Token-Type: Bearer
Client: ph0kvaqURayfw30oaCC7BQ
Expiry: 1906580691
Uid: test@example.com

Body

{
  "success": true,
  "teams": [
    {
      "name": "John Doe",
      "uid": "ivn5fZbm",
      "creator_uid": "SME799FX"
    },
    {
      "name": "FooCorp",
      "uid": "RZTVzAqN",
      "creator_uid": null
    }
  ]
}