POST
/
v1
/
teams
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "created_at": "<string>",
    "meta": {
      "seller": {
        "margin_type": "percentage",
        "margin_value": 30
      },
      "default_timezone": "<string>",
      "green_invoice_client_id": "<string>",
      "onboarding": [
        "<string>"
      ],
      "voice_lead_submitter": [
        "<string>"
      ]
    },
    "is_current": false,
    "balance": 123,
    "currency": "<string>",
    "role": "<string>",
    "members_count": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

UserTeamData

The response is of type object.