Interface: CurrentSmsChatResponse
Defined in: packages/sdk/src/types/generated/chat.ts:405
Create-chat preflight: is an SMS conversation already live with this member?
An SMS conversation with a member is a single stream — inbound SMS routes to
ONE current chat per (member phone, workspace phone) pair
(get_current_chat_for_phone_and_target_member) — so creating a new SMS
chat supersedes the existing one: from the next inbound message onwards the
old chat goes quiet. This endpoint lets the create-chat UI warn about that
before the operator commits.
PHI-safe by construction. Status and timing only: no message content, no phone numbers, no member names, and deliberately no chat title (titles are auto-summarised from message content, so they ARE PHI).
exists is False leaves every other field None — the caller should
branch on exists, not on a null id.
Properties
aiAnswering?
optionalaiAnswering:boolean|null
Defined in: packages/sdk/src/types/generated/chat.ts:414
chatId?
optionalchatId:number|null
Defined in: packages/sdk/src/types/generated/chat.ts:407
chatType?
optionalchatType:string|null
Defined in: packages/sdk/src/types/generated/chat.ts:409
chatUuid?
optionalchatUuid:string|null
Defined in: packages/sdk/src/types/generated/chat.ts:408
exists
exists:
boolean
Defined in: packages/sdk/src/types/generated/chat.ts:406
lastActivityAt?
optionallastActivityAt:string|null
Defined in: packages/sdk/src/types/generated/chat.ts:411
needsResponse?
optionalneedsResponse:boolean|null
Defined in: packages/sdk/src/types/generated/chat.ts:412
paused?
optionalpaused:boolean|null
Defined in: packages/sdk/src/types/generated/chat.ts:413
workflowName?
optionalworkflowName:string|null
Defined in: packages/sdk/src/types/generated/chat.ts:410