Class Contact
java.lang.Object
com.intercom.api.resources.contacts.types.Contact
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getType
- Returns:
- The type of object.
-
getId
- Returns:
- The unique identifier for the contact which is given by Intercom.
-
getExternalId
- Returns:
- The unique identifier for the contact which is provided by the Client.
-
getWorkspaceId
- Returns:
- The id of the workspace which the contact belongs to.
-
getRole
- Returns:
- The role of the contact.
-
getEmail
- Returns:
- The contact's email.
-
getEmailDomain
- Returns:
- The contact's email domain.
-
getPhone
- Returns:
- The contacts phone.
-
getFormattedPhone
- Returns:
- The contacts phone number normalized to the E164 format
-
getName
- Returns:
- The contacts name.
-
getOwnerId
- Returns:
- The id of an admin that has been assigned account ownership of the contact.
-
getHasHardBounced
public boolean getHasHardBounced()- Returns:
- Whether the contact has had an email sent to them hard bounce.
-
getMarkedEmailAsSpam
public boolean getMarkedEmailAsSpam()- Returns:
- Whether the contact has marked an email sent to them as spam.
-
getUnsubscribedFromEmails
public boolean getUnsubscribedFromEmails()- Returns:
- Whether the contact is unsubscribed from emails.
-
getCreatedAt
public int getCreatedAt()- Returns:
- (UNIX timestamp) The time when the contact was created.
-
getUpdatedAt
public int getUpdatedAt()- Returns:
- (UNIX timestamp) The time when the contact was last updated.
-
getSignedUpAt
- Returns:
- (UNIX timestamp) The time specified for when a contact signed up.
-
getLastSeenAt
- Returns:
- (UNIX timestamp) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually).
-
getLastRepliedAt
- Returns:
- (UNIX timestamp) The time when the contact last messaged in.
-
getLastContactedAt
- Returns:
- (UNIX timestamp) The time when the contact was last messaged.
-
getLastEmailOpenedAt
- Returns:
- (UNIX timestamp) The time when the contact last opened an email.
-
getLastEmailClickedAt
- Returns:
- (UNIX timestamp) The time when the contact last clicked a link in an email.
-
getLanguageOverride
- Returns:
- A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.
-
getBrowser
- Returns:
- The name of the browser which the contact is using.
-
getBrowserVersion
- Returns:
- The version of the browser which the contact is using.
-
getBrowserLanguage
- Returns:
- The language set by the browser which the contact is using.
-
getOs
- Returns:
- The operating system which the contact is using.
-
getAndroidAppName
- Returns:
- The name of the Android app which the contact is using.
-
getAndroidAppVersion
- Returns:
- The version of the Android app which the contact is using.
-
getAndroidDevice
- Returns:
- The Android device which the contact is using.
-
getAndroidOsVersion
- Returns:
- The version of the Android OS which the contact is using.
-
getAndroidSdkVersion
- Returns:
- The version of the Android SDK which the contact is using.
-
getAndroidLastSeenAt
- Returns:
- (UNIX timestamp) The time when the contact was last seen on an Android device.
-
getIosAppName
- Returns:
- The name of the iOS app which the contact is using.
-
getIosAppVersion
- Returns:
- The version of the iOS app which the contact is using.
-
getIosDevice
- Returns:
- The iOS device which the contact is using.
-
getIosOsVersion
- Returns:
- The version of iOS which the contact is using.
-
getIosSdkVersion
- Returns:
- The version of the iOS SDK which the contact is using.
-
getIosLastSeenAt
- Returns:
- (UNIX timestamp) The last time the contact used the iOS app.
-
getCustomAttributes
- Returns:
- The custom attributes which are set for the contact.
-
getAvatar
- Returns:
- An image URL containing the avatar of a contact.
-
getTags
-
getNotes
-
getCompanies
-
getLocation
-
getSocialProfiles
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-