SunshineConversationsClient::WebhookBody

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
targetStringURL to be called when the webhook is triggered.[optional]
triggersArray<String>An array of triggers the integration is subscribed to. This property is case sensitive. More details.[optional]
include_full_userBooleanA boolean specifying whether webhook payloads should include the complete user schema for events involving a specific user.[optional][default to false]
include_full_sourceBooleanA boolean specifying whether webhook payloads should include the client and device object (when applicable).[optional][default to false]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::WebhookBody.new(
  target: https://example.com/callback,
  triggers: [&quot;conversation:read&quot;,&quot;conversation:message&quot;],
  include_full_user: null,
  include_full_source: null
)