Class RawSwitchClient


  • public class RawSwitchClient
    extends java.lang.Object
    • Constructor Detail

      • RawSwitchClient

        public RawSwitchClient​(ClientOptions clientOptions)
    • Method Detail

      • createPhoneSwitch

        public IntercomHttpResponse<java.util.Optional<PhoneSwitch>> createPhoneSwitch​(java.lang.Object request)
        You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified.

        If custom attributes are specified, they will be added to the user or lead's custom data attributes.

      • createPhoneSwitch

        public IntercomHttpResponse<java.util.Optional<PhoneSwitch>> createPhoneSwitch​(java.lang.Object request,
                                                                                       RequestOptions requestOptions)
        You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified.

        If custom attributes are specified, they will be added to the user or lead's custom data attributes.