Class AsyncAdminsClient


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

      • AsyncAdminsClient

        public AsyncAdminsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public AsyncRawAdminsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • identify

        public java.util.concurrent.CompletableFuture<java.util.Optional<AdminWithApp>> identify()
        You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).

        🚧 Single Sign On

        If you are building a custom "Log in with Intercom" flow for your site, and you call the /me endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.

      • identify

        public java.util.concurrent.CompletableFuture<java.util.Optional<AdminWithApp>> identify​(RequestOptions requestOptions)
        You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).

        🚧 Single Sign On

        If you are building a custom "Log in with Intercom" flow for your site, and you call the /me endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.

      • away

        public java.util.concurrent.CompletableFuture<java.util.Optional<Admin>> away​(ConfigureAwayAdminRequest request)
        You can set an Admin as away for the Inbox.
      • list

        public java.util.concurrent.CompletableFuture<AdminList> list()
        You can fetch a list of admins for a given workspace.
      • list

        public java.util.concurrent.CompletableFuture<AdminList> list​(RequestOptions requestOptions)
        You can fetch a list of admins for a given workspace.
      • find

        public java.util.concurrent.CompletableFuture<java.util.Optional<Admin>> find​(FindAdminRequest request)
        You can retrieve the details of a single admin.
      • find

        public java.util.concurrent.CompletableFuture<java.util.Optional<Admin>> find​(FindAdminRequest request,
                                                                                      RequestOptions requestOptions)
        You can retrieve the details of a single admin.