POST
/
v2
/
teams
Create a team
curl --request POST \
  --url https://b2b-api.dev-riseworks.io/v2/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "company_nanoid": "<string>",
  "admins": [
    {
      "nanoid": "<string>",
      "type": "team_admin"
    }
  ],
  "avatar_file_name": "<string>",
  "withdraw_fee_coverage": true
}'
{
  "success": true,
  "data": {
    "name": "<string>",
    "nanoid": "<string>",
    "avatar": "<string>"
  }
}

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

Default Response

The response is of type object.