Class AdminsClient


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

      • AdminsClient

        public AdminsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawAdminsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • identifyAdmin

        public java.util.Optional<AdminWithApp> identifyAdmin()
        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.

      • identifyAdmin

        public java.util.Optional<AdminWithApp> identifyAdmin​(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.

      • setAwayAdmin

        public java.util.Optional<Admin> setAwayAdmin​(SetAwayAdminRequest request)
        You can set an Admin as away for the Inbox.
      • listAdmins

        public AdminList listAdmins()
        You can fetch a list of admins for a given workspace.
      • listAdmins

        public AdminList listAdmins​(RequestOptions requestOptions)
        You can fetch a list of admins for a given workspace.
      • retrieveAdmin

        public java.util.Optional<Admin> retrieveAdmin​(RetrieveAdminRequest request)
        You can retrieve the details of a single admin.