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
      • identify

        public 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.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.

      • list

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

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

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