Space Docs
Domain Model

Channel Identity

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
externalUserIdstringYes—ID of the associated external user
externalDisplayNamestringNo—External display name
linkedUserIdstringNo—ID of the associated linked user
linkedContactIdstringNo—ID of the associated linked contact
verificationMethodenum(one_time_code, magic_link, portal_handoff, account_binding)No—Verification method
verifiedAtstring.date-timeNo—Verified at
revokedAtstring.date-timeNo—Revoked at
workspaceIdstringYes—ID of the associated workspace

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)Yes—Provider
externalUserIdstringYes—ID of the associated external user
externalDisplayNamestringNo—External display name
linkedUserIdstringNo—ID of the associated linked user
linkedContactIdstringNo—ID of the associated linked contact
verificationMethodenum(one_time_code, magic_link, portal_handoff, account_binding)No—Verification method
verifiedAtstring.date-timeNo—Verified at
revokedAtstring.date-timeNo—Revoked at
workspaceIdstringYes—ID of the associated workspace

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
externalDisplayNamestringNo—External display name
linkedUserIdstringNo—ID of the associated linked user
linkedContactIdstringNo—ID of the associated linked contact
verificationMethodenum(one_time_code, magic_link, portal_handoff, account_binding)No—Verification method
verifiedAtstring.date-timeNo—Verified at
revokedAtstring.date-timeNo—Revoked at

On this page