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