Skip to content

RoleService

Chatto exposes this service below /api/connect.

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

Provides authenticated reads for public role metadata.

Lists the current role catalog as a finite snapshot. Requires an authenticated user.

POST /api/connect/chatto.api.v1.RoleService/ListRoles

Request the current role catalog.

Snapshot of the role catalog visible to the authenticated viewer.

FieldTypeDescription
rolesrepeated RoleRoles sorted by position.

Gets one public role by stable name. Returns NOT_FOUND when the role is unknown.

POST /api/connect/chatto.api.v1.RoleService/GetRole

Request one public role by stable role name.

FieldTypeDescription
namestringRequired stable role name.

Public role lookup response.

FieldTypeDescription
roleRoleRequested role.

Gets public role records for multiple role names referenced by member rows, mentions, or integration clients.

POST /api/connect/chatto.api.v1.RoleService/BatchGetRoles

Request public role records for a set of stable role names.

FieldTypeDescription
namesrepeated stringRequired role names. Unknown names are omitted from the response.

Batch public role response.

FieldTypeDescription
rolesrepeated RoleFound roles. The server preserves first-seen request order and de-duplicates repeated names.