Class AsyncRawPhoneCallRedirectsClient


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

      • AsyncRawPhoneCallRedirectsClient

        public AsyncRawPhoneCallRedirectsClient​(ClientOptions clientOptions)
    • Method Detail

      • create

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<PhoneSwitch>>> create()
        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.

      • create

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<PhoneSwitch>>> create​(java.util.Optional<CreatePhoneSwitchRequest> 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.

      • create

        public java.util.concurrent.CompletableFuture<IntercomHttpResponse<java.util.Optional<PhoneSwitch>>> create​(java.util.Optional<CreatePhoneSwitchRequest> 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.