Create a workspace
POST
You become its owner. The slug must be unique; add a few random characters.
sessioncookie
better-auth.session_token<token>Set by POST /api/auth/sign-in/email.
application/json- body
name*stringLength
1 <= lengthslug*stringLength
1 <= lengthThe new workspace.
curl -X POST 'https://app.useroster.work/api/auth/organization/create' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "slug": "string"}'Example Response
Empty