Teams

POST /teams

Creates a new team

Endpoint

POST /api/v2/teams

Parameters

Name Description type
team[name] required Team name string
team[agrees_to_terms_of_service] required Agrees to terms of service boolean

Request

Route

POST /api/v2/teams

Headers

Accept: application/json
Content-Type: application/json
Access-Token: idENRSXs_vuHvNL3FHIEVA
Client: AXLrcaHs2Kcjckkex3sXsg
Uid: test@example.com

Body

{
  "team": {
    "name": "ACME Inc",
    "agrees_to_terms_of_service": true
  }
}

Response

Status

201

Headers

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

Body

{
  "success": true,
  "team": {
    "name": "ACME Inc",
    "uid": "VTUf1bGW",
    "creator_uid": "6bvLXm7J"
  }
}