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
}
}
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
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
UserTeamData
The response is of type object
.