SunshineConversationsClient::Messagebird

August 27, 2025 · View on GitHub

Properties

NameTypeDescriptionNotes
default_responder_idStringThe default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the <a href=&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide</a>.[optional]
default_responderDefaultResponderDefaultResponder[optional]
typeStringTo configure a MessageBird integration, acquire the accessKey, the signingKey and the MessageBird number you would like to use, then call the Create Integration endpoint. The response will include the integration’s `_id` and `webhookSecret`, which must be used to configure the webhook in MessageBird. In the Flow Builder for the MessageBird number you’ve used to integrate, add a new step with the following settings: - Create a new Call HTTP endpoint with SMS flow. - Select your desired SMS number for Incoming SMS. - Click on Forward to URL and set its method to POST. - Then, using the integration _id and webhookSecret returned from the create integration call, enter the following into the URL field: `https://app.smooch.io/api/messagebird/webhooks/{appId}/{integrationId}/{webhookSecret}&#x60; - Select application/json for the Set Content-Type header field. - Save and publish your changes.[optional][default to 'messagebird']
access_keyStringThe public API key of your MessageBird account.
signing_keyStringThe signing key of your MessageBird account. Used to validate the webhooks' origin.
originatorStringSunshine Conversations will receive all messages sent to this phone number.
webhook_secretStringThe secret that is used to configure webhooks in MessageBird.[optional][readonly]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::Messagebird.new(
  default_responder_id: null,
  default_responder: null,
  type: null,
  access_key: 9V2iJmd93kFJ390L9495JCl11,
  signing_key: Uu6N09Lkdji3820DJIO89I39sl9dJ,
  originator: 12262121021,
  webhook_secret: 72ade38394d1da51566cede33bd1e67e
)