Access
Create a workspace group
POST
sessionCookiecookie
better-auth.session_token<token>The Better Auth email/password session cookie used by the web application.
workspaceId*stringLength
1 <= length- body
name*stringLength
1 <= length <= 80Response for status 201
application/json- response
team*curl -X POST 'https://postbot.example/api/workspaces/string/teams' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'Example Response
{
"team": {
"id": "string",
"name": "string",
"memberCount": 0,
"isDefault": true,
"createdAt": 0,
"updatedAt": 0
}
}