A visitor object contains the following fields -
| Attribute | Type | Description |
|---|---|---|
| type | string | value is 'visitor' |
| id | string | The Intercom defined id representing the Visitor |
| created_at | timestamp | The time the Visitor was added to Intercom |
| updated_at | timestamp | The last time the Visitor was updated |
| user_id | string | Automatically generated identifier for the Visitor |
| name | string | The name of the Visitor |
| custom_attributes | object | The custom attributes you have set on the Visitor |
| last_request_at | timestamp | The time the Lead last recorded making a request |
| avatar | object | An avatar object for the Visitor |
| unsubscribed_from_emails | boolean | Whether the Visitor is unsubscribed from emails |
| location_data | object | A Location Object relating to the Visitor |
| user_agent_data | string | Data about the last user agent the Visitor was seen using |
| last_seen_ip | no | An ip address (e.g. "1.2.3.4") representing the last ip address the Visitor visited your application from. (Used for updating location_data) |
| social_profiles | list | A list of social profiles associated with the Visitor |
| segments | list | A list of segments the Visitor. |
| tags | list | A list of tags associated with the Visitor. |