Types Reference

Canonical type reference for Support props, hooks, events, and shared widget data.

Use this page when

Use this page as the shared type index behind the Support docs.

  • you want the exact shape of a prop, event payload, or shared model
  • a guide links to a named type like TimelineItem, Conversation, or PublicVisitor
  • you are building custom UI on top of hooks, events, or primitives

If you are still deciding how to shape the widget, start with Overview, Change One Thing, or Pages & Layouts.

Widget Types

DefaultMessage

Structure for pre-conversation welcome messages.

Property

Type

VisitorMetadata

Key-value pairs for storing custom data about contacts.

Property

Type

SenderType

Enum defining who can send messages.

Property

Type

SupportMode

Layout mode for the widget.

type SupportMode = "floating" | "responsive";

TriggerRenderProps

Props provided to custom trigger render functions.

Property

Type

SupportHandle

Imperative handle for programmatic widget control via refs.

Property

Type

Visitor And Website Data

PublicVisitor

The visitor object returned by the widget, representing an anonymous or identified visitor.

Property

Type

PublicContact

Contact information for an identified visitor.

Property

Type

PublicWebsiteResponse

Website configuration and agent availability information.

Property

Type

HumanAgent

Information about a human support agent.

Property

Type

AIAgent

Information about an AI support agent.

Property

Type

Conversations And Messages

Conversation

Conversation record used throughout the support widget and event payloads.

Property

Type

TimelineItem

Timeline item payload used for widget messages, events, and AI tool output.

Property

Type

Hook And Event Types

IdentifyParams

Parameters for the identify() function.

Property

Type

MessageComposer

State and actions returned by useConversationPage for message composition.

Property

Type

SupportEvent

Union type of all possible widget events.

Property

Type

Client Types

CossistantClient

The low-level client instance for advanced programmatic control. The table below highlights the main public stores and methods exposed by the client.

Property

Type