Class RawAdminsClient
- java.lang.Object
-
- com.intercom.api.resources.admins.RawAdminsClient
-
public class RawAdminsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawAdminsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntercomHttpResponse<java.util.Optional<Admin>>away(ConfigureAwayAdminRequest request)You can set an Admin as away for the Inbox.IntercomHttpResponse<java.util.Optional<Admin>>away(ConfigureAwayAdminRequest request, RequestOptions requestOptions)You can set an Admin as away for the Inbox.IntercomHttpResponse<java.util.Optional<Admin>>find(FindAdminRequest request)You can retrieve the details of a single admin.IntercomHttpResponse<java.util.Optional<Admin>>find(FindAdminRequest request, RequestOptions requestOptions)You can retrieve the details of a single admin.IntercomHttpResponse<java.util.Optional<AdminWithApp>>identify()You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology).IntercomHttpResponse<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).IntercomHttpResponse<AdminList>list()You can fetch a list of admins for a given workspace.IntercomHttpResponse<AdminList>list(RequestOptions requestOptions)You can fetch a list of admins for a given workspace.IntercomHttpResponse<ActivityLogList>listAllActivityLogs(ListAllActivityLogsRequest request)You can get a log of activities by all admins in an app.IntercomHttpResponse<ActivityLogList>listAllActivityLogs(ListAllActivityLogsRequest request, RequestOptions requestOptions)You can get a log of activities by all admins in an app.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawAdminsClient
public RawAdminsClient(ClientOptions clientOptions)
-
-
Method Detail
-
identify
public IntercomHttpResponse<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
/meendpoint 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 IntercomHttpResponse<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
/meendpoint 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 IntercomHttpResponse<java.util.Optional<Admin>> away(ConfigureAwayAdminRequest request)
You can set an Admin as away for the Inbox.
-
away
public IntercomHttpResponse<java.util.Optional<Admin>> away(ConfigureAwayAdminRequest request, RequestOptions requestOptions)
You can set an Admin as away for the Inbox.
-
listAllActivityLogs
public IntercomHttpResponse<ActivityLogList> listAllActivityLogs(ListAllActivityLogsRequest request)
You can get a log of activities by all admins in an app.
-
listAllActivityLogs
public IntercomHttpResponse<ActivityLogList> listAllActivityLogs(ListAllActivityLogsRequest request, RequestOptions requestOptions)
You can get a log of activities by all admins in an app.
-
list
public IntercomHttpResponse<AdminList> list()
You can fetch a list of admins for a given workspace.
-
list
public IntercomHttpResponse<AdminList> list(RequestOptions requestOptions)
You can fetch a list of admins for a given workspace.
-
find
public IntercomHttpResponse<java.util.Optional<Admin>> find(FindAdminRequest request)
You can retrieve the details of a single admin.
-
find
public IntercomHttpResponse<java.util.Optional<Admin>> find(FindAdminRequest request, RequestOptions requestOptions)
You can retrieve the details of a single admin.
-
-