Skip to content
Chatto v0.5.0

ServerSetupService

Chatto exposes this service below /api/connect.

Shared message and enum definitions are documented in Shared Types And Enums.

Creates the first owner on a new server. No session or setup secret is required.

Public while setup is available. Atomically creates the owner and server settings, then permanently closes setup. Concurrent or later submissions fail with FAILED_PRECONDITION. A lost response can be recovered by signing in.

POST /api/connect/chatto.auth.v1.ServerSetupService/CompleteSetup

Settings and local owner credentials for a new server.

FieldTypeDescription
server_namestringRequired server display name.
descriptionstringOptional public server description.
loginstringRequired owner login. Normal username rules apply.
display_namestringRequired owner display name.
passwordstringRequired local password. Normal password rules apply.

Setup has completed. Sign in with the owner credentials through normal login.