OBJECT

Visitor

A visitor is a user who has participated at least once in an iAdvize conversation from his browser, a mobile application or one of the third-party channels supported by iAdvize.

link GraphQL Schema definition

  • type Visitor {
  • # Unique cross channel identifier of an iAdvize visitor.
  • visitorId: UUID!
  • # Source of the visitor from where the conversation was started (e.g. ONSITE,
  • # MOBILE_APP).
  • source: Source!
  • # This field allows you to link an iAdvize visitor and your own customer record in
  • # your internal tools (databases, CRM, etc.) allowing confidentiality and
  • # continuity of conversation for this visitor. This field is filled in thanks to
  • # the visitor authentication mechanism offered by iAdvize.
  • externalUserId: String
  • # External identifier of the visitor used for conversation continuity: is
  • # deprecated and replaced by the externalUserId field.
  • externalId: String @deprecated( reason: "This field should not be used, please use the externalUserId field." )
  • # First name of the visitor.
  • firstName: String
  • # Last name of the visitor.
  • lastName: String
  • # Address of the visitor.
  • address: String
  • # City of the visitor.
  • city: String
  • # ZipCode of the visitor.
  • zipCode: String
  • # Country of the visitor.
  • country: String
  • # Phone number of the visitor.
  • phoneNumber: String
  • # Email of the visitor.
  • email: String
  • # Date at which the visitor was created. This is usually when the visitor started
  • # their first conversation.
  • createdAt: DateTime!
  • # Last updated date of the visitor.
  • updatedAt: DateTime!
  • # The visitor username as provided by third party channels such as WhatsApp
  • username: String
  • # Avatar url of the visitor
  • avatarUrl: URL
  • # Project of the visitor domain.
  • project: Project
  • # Please do not include this field in your query. This field is only present for
  • # the technical reason that GraphQL object types must contain at least one field.
  • # Its value is always `null`.
  • _unusedField: Boolean @deprecated( reason: "Please do not include this field in your query." )
  • }