Team

Open a new team

Only the name. The team starts empty, with you as its owner, and everything else is filled in afterwards on its own settings page.

Send an id of your own and the request can be repeated safely: a team you already opened under that id comes back as it is, so a retry after an answer that never arrived opens one team rather than two.

post/api/v1/teams

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/teams
  • Auth: API key in cookie better-auth.session_token

Request body

namestring required
idstring

An id minted by the client, as team_ and 8 to 40 letters or digits. Leave it out and the server mints one.

Response

The team, ready to switch into.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.