Update a contact

You can update an existing contact (ie. user or lead).

SecurityHTTP: bearerAuth
Request
path Parameters
id
required
string

id

Example: 63a07ddf05a32042dffac965
header Parameters
Intercom-Version
string (intercom_version)
Default: 2.10

Intercom API version.
By default, it's equal to the version set in the app package.

Enum: "1.0" "1.1" "1.2" "1.3" "1.4" "2.0" "2.1" "2.2" "2.3" "2.4" "2.5" "2.6" "2.7" "2.8" "2.9" "2.10" "Unstable"
Example: 2.10
Request Body schema: application/json
One of:

You can update a contact

role
string

The role of the contact.

external_id
string

A unique identifier for the contact which is given to Intercom

email
string

The contacts email

phone
string or null

The contacts phone

name
string or null

The contacts name

avatar
string or null

An image URL containing the avatar of a contact

signed_up_at
integer or null <date-time>

The time specified for when a contact signed up

last_seen_at
integer or null <date-time>

The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)

owner_id
integer or null

The id of an admin that has been assigned account ownership of the contact

unsubscribed_from_emails
boolean or null

Whether the contact is unsubscribed from emails

custom_attributes
object or null

The custom attributes which are set for the contact

put
/contacts/{id}
Request samples
application/json
{ "email": "joebloggs@intercom.io", "name": "joe bloggs" }
Responses

200

successful

Response Schema: application/json
type
string

The type of object.

id
string

The unique identifier for the contact which is given by Intercom.

external_id
string or null

The unique identifier for the contact which is provided by the Client.

workspace_id
string

The id of the workspace which the contact belongs to.

role
string

The role of the contact.

email
string

The contact's email.

email_domain
string

The contact's email domain.

phone
string or null

The contacts phone.

formatted_phone
string or null

The contacts phone number normalized to the E164 format

name
string or null

The contacts name.

owner_id
integer or null

The id of an admin that has been assigned account ownership of the contact.

has_hard_bounced
boolean

Whether the contact has had an email sent to them hard bounce.

marked_email_as_spam
boolean

Whether the contact has marked an email sent to them as spam.

unsubscribed_from_emails
boolean

Whether the contact is unsubscribed from emails.

created_at
integer <date-time>

(UNIX timestamp) The time when the contact was created.

updated_at
integer <date-time>

(UNIX timestamp) The time when the contact was last updated.

signed_up_at
integer or null <date-time>

(UNIX timestamp) The time specified for when a contact signed up.

last_seen_at
integer or null <date-time>

(UNIX timestamp) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually).

last_replied_at
integer or null <date-time>

(UNIX timestamp) The time when the contact last messaged in.

last_contacted_at
integer or null <date-time>

(UNIX timestamp) The time when the contact was last messaged.

last_email_opened_at
integer or null <date-time>

(UNIX timestamp) The time when the contact last opened an email.

last_email_clicked_at
integer or null <date-time>

(UNIX timestamp) The time when the contact last clicked a link in an email.

language_override
string or null

A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.

browser
string or null

The name of the browser which the contact is using.

browser_version
string or null

The version of the browser which the contact is using.

browser_language
string or null

The language set by the browser which the contact is using.

os
string or null

The operating system which the contact is using.

android_app_name
string or null

The name of the Android app which the contact is using.

android_app_version
string or null

The version of the Android app which the contact is using.

android_device
string or null

The Android device which the contact is using.

android_os_version
string or null

The version of the Android OS which the contact is using.

android_sdk_version
string or null

The version of the Android SDK which the contact is using.

android_last_seen_at
integer or null <date-time>

(UNIX timestamp) The time when the contact was last seen on an Android device.

ios_app_name
string or null

The name of the iOS app which the contact is using.

ios_app_version
string or null

The version of the iOS app which the contact is using.

ios_device
string or null

The iOS device which the contact is using.

ios_os_version
string or null

The version of iOS which the contact is using.

ios_sdk_version
string or null

The version of the iOS SDK which the contact is using.

ios_last_seen_at
integer or null <date-time>

(UNIX timestamp) The last time the contact used the iOS app.

custom_attributes
object

The custom attributes which are set for the contact.

object or null
object or null (Contact Tags)

An object containing tags meta data about the tags that a contact has. Up to 10 will be displayed here. Use the url to get more.

object (Contact notes)

An object containing notes meta data about the notes that a contact has. Up to 10 will be displayed here. Use the url to get more.

object (Contact companies)

An object containing companies meta data about the companies that a contact has. Up to 10 will be displayed here. Use the url to get more.

object (Contact Location)

An object containing location meta data about a Intercom contact.

object (Social Profile)

An object containing social profiles that a contact has.

401

Unauthorized

Response samples
application/json
{ "type": "contact", "id": "660e72d66abd01bd27af6169", "workspace_id": "this_is_an_id237_that_should_be_at_least_", "external_id": "70", "role": "user", "email": "joebloggs@intercom.io", "phone": null, "name": "joe bloggs", "avatar": null, "owner_id": null, "social_profiles": { "type": "list", "data": [ ] }, "has_hard_bounced": false, "marked_email_as_spam": false, "unsubscribed_from_emails": false, "created_at": 1712222934, "updated_at": 1712222934, "signed_up_at": 1712222934, "last_seen_at": null, "last_replied_at": null, "last_contacted_at": null, "last_email_opened_at": null, "last_email_clicked_at": null, "language_override": null, "browser": null, "browser_version": null, "browser_language": null, "os": null, "location": { "type": "location", "country": null, "region": null, "city": null, "country_code": null, "continent_code": null }, "android_app_name": null, "android_app_version": null, "android_device": null, "android_os_version": null, "android_sdk_version": null, "android_last_seen_at": null, "ios_app_name": null, "ios_app_version": null, "ios_device": null, "ios_os_version": null, "ios_sdk_version": null, "ios_last_seen_at": null, "custom_attributes": { }, "tags": { "type": "list", "data": [ ], "url": "/contacts/660e72d66abd01bd27af6169/tags", "total_count": 0, "has_more": false }, "notes": { "type": "list", "data": [ ], "url": "/contacts/660e72d66abd01bd27af6169/notes", "total_count": 0, "has_more": false }, "companies": { "type": "list", "data": [ ], "url": "/contacts/660e72d66abd01bd27af6169/companies", "total_count": 0, "has_more": false }, "opted_out_subscription_types": { "type": "list", "data": [ ], "url": "/contacts/660e72d66abd01bd27af6169/subscriptions", "total_count": 0, "has_more": false }, "opted_in_subscription_types": { "type": "list", "data": [ ], "url": "/contacts/660e72d66abd01bd27af6169/subscriptions", "total_count": 0, "has_more": false }, "utm_campaign": null, "utm_content": null, "utm_medium": null, "utm_source": null, "utm_term": null, "referrer": null }