Any of:
Update an existing visitor.
A unique identified for the visitor which is given by Intercom. Used to look the visitor up; it is not changed by this request.
Example:"8a88a590-e"
A unique identified for the visitor which is given by you. Used to look the visitor up; it is not changed by this request.
Example:"123"
The visitor's email address. Sending this promotes the visitor to a lead and the response becomes a contact object.
Example:"winstonsmith@truth.org"
The language to send the visitor messages in, overriding the language we detect.
Example:"fr"
The companies to associate the visitor with. Only applied when the same request sends email, which promotes the visitor to a lead.
{ "id": "8a88a590-e", "user_id": "123", "name": "Christian Bale", "email": "winstonsmith@truth.org", "phone": "+353871234567", "owner_id": 991267734, "last_request_at": 1663597223, "last_seen_ip": "1.2.3.4", "last_seen_user_agent": "Mozilla/5.0", "unsubscribed_from_emails": false, "language_override": "fr", "avatar": "https://example.org/128Wu8Q.jpg", "companies": [ {} ], "utm_campaign": "intercom-link", "utm_content": "banner", "utm_medium": "email", "utm_source": "Intercom", "utm_term": "messenger", "custom_attributes": { "paid_subscriber": true, "monthly_spend": 155.5, "team_mates": 9 } }