OBJECT

Contact

Represents user’s contact information.

link GraphQL Schema definition

  • type Contact implements Node {
  • # The contact’s first name.
  • firstName: String!
  • # The contact’s last name.
  • lastName: String
  • # The contact’s mobile number in E.164 format.
  • mobile: String
  • # The contact’s email address.
  • email: String
  • # The contact’s birthday.
  • birthday: String
  • # The contact’s gender.
  • gender: Gender
  • # A URL pointing to the contact’s photo.
  • photo: URL
  • # The contact’s Twitter username.
  • twitter: String
  • # The contact’s Instagram username.
  • instagram: String
  • # The contact’s LinkedIn username.
  • linkedin: String
  • # The contact’s job title.
  • jobTitle: String
  • # The contact’s company.
  • company: String
  • # Indicates if the contact has VIP status.
  • vip: Boolean!
  • # Indicates if the contact is hidden.
  • hidden: Boolean!
  • # Indicates if the contact is archived.
  • archived: Boolean!
  • # Indicates if the contact is unsubscribed.
  • unsubscribed: Boolean!
  • # The contact’s country code.
  • country: String
  • # The contact’s province code.
  • province: String
  • # The contact’s city.
  • city: String
  • # The contact’s zip code.
  • zipCode: String
  • # The contact’s longitude.
  • longitude: Float
  • # The contact’s latitude.
  • latitude: Float
  • # The contact's total spent amount.
  • totalSpent: Float!
  • # Custom notes for the contact.
  • notes: String
  • # Identifies the date and time when the contact was created.
  • createdAt: DateTime!
  • # List of contact's custom contributions.
  • customContributions: [CustomContribution!]!
  • # Returns a list of the contact's tags.
  • #
  • # Arguments
  • # first: Returns up to the first `n` elements from the list.
  • # after: Returns the elements that come after the specified
  • # cursor.
  • # last: Returns up to the last `n` elements from the list.
  • # before: Returns the elements that come before the specified
  • # cursor.
  • tags(first: Int, after: String, last: Int, before: String): TagConnection!
  • # List of conversations associated with contact.
  • #
  • # Arguments
  • # first: Returns up to the first `n` elements from the list.
  • # after: Returns the elements that come after the specified
  • # cursor.
  • # last: Returns up to the last `n` elements from the list.
  • # before: Returns the elements that come before the specified
  • # cursor.
  • conversations(first: Int, after: String, last: Int, before: String): ConversationConnection!
  • # Globally unique identifier.
  • id: ID!
  • }