SunshineConversationsClient::Switchboard

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
idStringThe unique ID of the switchboard.
enabledBooleanWhether the switchboard is enabled. Allows creating the switchboard in a disabled state so that messages don't get lost or misrouted during switchboard configuration. When a switchboard is disabled, integrations linked to the switchboard will receive all events.
default_switchboard_integration_idStringThe id of the switchboard integration that will be given control when a new conversation begins. It will also be used for conversations that existed before the switchboard was enabled.[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::Switchboard.new(
  id: 5ef21b132f21af34f088530d,
  enabled: null,
  default_switchboard_integration_id: 5ef21b132f21af34f088530e
)