Unfortunately, this feature is not supported on mobile devices. For the best experience, please use a computer.

Intercom API (2.11)

The intercom API reference.

Download OpenAPI description
Languages
Servers
The production API server
https://api.intercom.io/
The european API server
https://api.eu.intercom.io/
The australian API server
https://api.au.intercom.io/

Admins

Everything about your Admins

Operations

Articles

Everything about your Articles

Operations

Companies

Everything about your Companies

Operations

Contacts

Everything about your contacts

Operations

Contact

Contact are the objects that represent your leads and users in Intercom.

typestring

The type of object.

Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

workspace_idstring

The id of the workspace which the contact belongs to.

Example:

"ecahpwf5"

rolestring

The role of the contact.

Example:

"user"

emailstring

The contact's email.

Example:

"joe@example.com"

email_domainstring

The contact's email domain.

Example:

"example.com"

phonestring or null

The contacts phone.

Example:

"+1123456789"

formatted_phonestring or null

The contacts phone number normalized to the E164 format

Example:

"+1123456789"

namestring or null

The contacts name.

Example:

"John Doe"

owner_idinteger or null

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

Example:

123

has_hard_bouncedboolean

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

Example:

true

marked_email_as_spamboolean

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

Example:

true

unsubscribed_from_emailsboolean

Whether the contact is unsubscribed from emails.

Example:

true

created_atinteger(date-time)

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

Example:

1571672154

updated_atinteger(date-time)

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

Example:

1571672154

signed_up_atinteger or null(date-time)

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

Example:

1571672154

last_seen_atinteger 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).

Example:

1571672154

last_replied_atinteger or null(date-time)

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

Example:

1571672154

last_contacted_atinteger or null(date-time)

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

Example:

1571672154

last_email_opened_atinteger or null(date-time)

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

Example:

1571672154

last_email_clicked_atinteger or null(date-time)

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

Example:

1571672154

language_overridestring or null

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

Example:

"en"

browserstring or null

The name of the browser which the contact is using.

Example:

"Chrome"

browser_versionstring or null

The version of the browser which the contact is using.

Example:

"80.0.3987.132"

browser_languagestring or null

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

Example:

"en-US"

osstring or null

The operating system which the contact is using.

Example:

"Mac OS X"

android_app_namestring or null

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

Example:

"Intercom"

android_app_versionstring or null

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

Example:

"5.0.0"

android_devicestring or null

The Android device which the contact is using.

Example:

"Pixel 3"

android_os_versionstring or null

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

Example:

"10"

android_sdk_versionstring or null

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

Example:

"28"

android_last_seen_atinteger or null(date-time)

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

Example:

1571672154

ios_app_namestring or null

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

Example:

"Intercom"

ios_app_versionstring or null

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

Example:

"5.0.0"

ios_devicestring or null

The iOS device which the contact is using.

Example:

"iPhone 11"

ios_os_versionstring or null

The version of iOS which the contact is using.

Example:

"13.3.1"

ios_sdk_versionstring or null

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

Example:

"13.3.1"

ios_last_seen_atinteger or null(date-time)

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

Example:

1571672154

custom_attributesobject

The custom attributes which are set for the contact.

avatarobject or null
tagsobject 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.

notesobject(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.

companiesobject(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.

locationobject(Contact Location)

An object containing location meta data about a Intercom contact.

social_profilesobject(Social Profile)

An object containing social profiles that a contact has.

{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "workspace_id": "ecahpwf5", "role": "user", "email": "joe@example.com", "email_domain": "example.com", "phone": "+1123456789", "formatted_phone": "+1123456789", "name": "John Doe", "owner_id": 123, "has_hard_bounced": true, "marked_email_as_spam": true, "unsubscribed_from_emails": true, "created_at": 1571672154, "updated_at": 1571672154, "signed_up_at": 1571672154, "last_seen_at": 1571672154, "last_replied_at": 1571672154, "last_contacted_at": 1571672154, "last_email_opened_at": 1571672154, "last_email_clicked_at": 1571672154, "language_override": "en", "browser": "Chrome", "browser_version": "80.0.3987.132", "browser_language": "en-US", "os": "Mac OS X", "android_app_name": "Intercom", "android_app_version": "5.0.0", "android_device": "Pixel 3", "android_os_version": "10", "android_sdk_version": "28", "android_last_seen_at": 1571672154, "ios_app_name": "Intercom", "ios_app_version": "5.0.0", "ios_device": "iPhone 11", "ios_os_version": "13.3.1", "ios_sdk_version": "13.3.1", "ios_last_seen_at": 1571672154, "custom_attributes": {}, "avatar": { "type": "avatar", "image_url": "https://example.org/128Wash.jpg" }, "tags": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/tags", "total_count": 100, "has_more": true }, "notes": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/notes", "total_count": 100, "has_more": true }, "companies": { "url": "/contacts/5ba682d23d7cf92bef87bfd4/companies", "total_count": 100, "has_more": true }, "location": { "type": "location", "country": "Ireland", "region": "Dublin", "city": "Dublin" }, "social_profiles": { "data": [ … ] } }

List attached contacts

Request

You can fetch a list of all contacts that belong to a company.

Path
idstringrequired

The unique identifier for the company which is given by Intercom

Example:

5f4d3c1c-7b1b-4d7d-a97e-6095715c6632

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/companies/{id}/contacts' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

Successful

Bodyapplication/json
typestring

The type of object - list

Value"list"
Example:

"list"

dataArray of objects(Contact)

An array containing Contact Objects

total_countinteger

The total number of contacts

Example:

100

pagesobject or null(Cursor based pages)

Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.

Response
application/json
{ "type": "list", "data": [ { … } ], "total_count": 100, "pages": { "type": "pages", "page": 1, "next": { … }, "per_page": 2, "total_pages": 13 } }

Attach a Contact to a Company

Request

You can attach a company to a single contact.

Path
idstringrequired

The unique identifier for the contact which is given by Intercom

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
idstringrequired

The unique identifier for the company which is given by Intercom

Example:

"58a430d35458202d41b1e65b"

curl -i -X POST \
  'https://api.intercom.io/contacts/{id}/companies' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "id": "58a430d35458202d41b1e65b"
  }'
Experience it firsthand in the API Explorer!

Responses

Successful

Bodyapplication/json
typestring

Value is company

Value"company"
Example:

"company"

idstring

The Intercom defined id representing the company.

Example:

"531ee472cce572a6ec000006"

namestring

The name of the company.

Example:

"Blue Sun"

app_idstring

The Intercom defined code of the workspace the company is associated to.

Example:

"ecahpwf5"

planobject
company_idstring

The company id you have defined for the company.

Example:

"6"

remote_created_atinteger

The time the company was created by you.

Example:

1663597223

created_atinteger

The time the company was added in Intercom.

Example:

1663597223

updated_atinteger

The last time the company was updated.

Example:

1663597223

last_request_atinteger

The time the company last recorded making a request.

Example:

1663597223

sizeinteger

The number of employees in the company.

Example:

100

websitestring

The URL for the company website.

Example:

"https://www.intercom.com"

industrystring

The industry that the company operates in.

Example:

"Software"

monthly_spendinteger

How much revenue the company generates for your business.

Example:

100

session_countinteger

How many sessions the company has recorded.

Example:

100

user_countinteger

The number of users in the company.

Example:

100

custom_attributesobject

The custom attributes you have set on the company.

Example:

{"paid_subscriber":true,"monthly_spend":155.5,"team_mates":9}

tagsobject

The list of tags associated with the company

segmentsobject

The list of segments associated with the company

Response
application/json
{ "type": "company", "id": "531ee472cce572a6ec000006", "name": "Blue Sun", "app_id": "ecahpwf5", "plan": { "type": "plan", "id": "269315", "name": "Pro" }, "company_id": "6", "remote_created_at": 1663597223, "created_at": 1663597223, "updated_at": 1663597223, "last_request_at": 1663597223, "size": 100, "website": "https://www.intercom.com", "industry": "Software", "monthly_spend": 100, "session_count": 100, "user_count": 100, "custom_attributes": { "paid_subscriber": true, "monthly_spend": 155.5, "team_mates": 9 }, "tags": { "type": "tag.list", "tags": [ … ] }, "segments": { "type": "segment.list", "segments": [ … ] } }

List attached companies for contact

Request

You can fetch a list of companies that are associated to a contact.

Path
idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/contacts/{id}/companies' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of object

Value"list"
Example:

"list"

companiesArray of objects(Company)

An array containing Company Objects

total_countinteger

The total number of companies associated to this contact

Example:

100

pagesobject(Pagination Object)

The majority of list resources in the API are paginated to allow clients to traverse data over multiple requests.

Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows.

Response
application/json
{ "type": "list", "companies": [ { … } ], "total_count": 100, "pages": { "type": "pages", "page": 1, "next": "http://example.com", "per_page": 50, "total_pages": 1 } }

Detach a contact from a company

Request

You can detach a company from a single contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

58a430d35458202d41b1e65b

idstringrequired

The unique identifier for the company which is given by Intercom

Example:

58a430d35458202d41b1e65b

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X DELETE \
  'https://api.intercom.io/contacts/{contact_id}/companies/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

Successful

Bodyapplication/json
typestring

Value is company

Value"company"
Example:

"company"

idstring

The Intercom defined id representing the company.

Example:

"531ee472cce572a6ec000006"

namestring

The name of the company.

Example:

"Blue Sun"

app_idstring

The Intercom defined code of the workspace the company is associated to.

Example:

"ecahpwf5"

planobject
company_idstring

The company id you have defined for the company.

Example:

"6"

remote_created_atinteger

The time the company was created by you.

Example:

1663597223

created_atinteger

The time the company was added in Intercom.

Example:

1663597223

updated_atinteger

The last time the company was updated.

Example:

1663597223

last_request_atinteger

The time the company last recorded making a request.

Example:

1663597223

sizeinteger

The number of employees in the company.

Example:

100

websitestring

The URL for the company website.

Example:

"https://www.intercom.com"

industrystring

The industry that the company operates in.

Example:

"Software"

monthly_spendinteger

How much revenue the company generates for your business.

Example:

100

session_countinteger

How many sessions the company has recorded.

Example:

100

user_countinteger

The number of users in the company.

Example:

100

custom_attributesobject

The custom attributes you have set on the company.

Example:

{"paid_subscriber":true,"monthly_spend":155.5,"team_mates":9}

tagsobject

The list of tags associated with the company

segmentsobject

The list of segments associated with the company

Response
application/json
{ "type": "company", "id": "531ee472cce572a6ec000006", "name": "Blue Sun", "app_id": "ecahpwf5", "plan": { "type": "plan", "id": "269315", "name": "Pro" }, "company_id": "6", "remote_created_at": 1663597223, "created_at": 1663597223, "updated_at": 1663597223, "last_request_at": 1663597223, "size": 100, "website": "https://www.intercom.com", "industry": "Software", "monthly_spend": 100, "session_count": 100, "user_count": 100, "custom_attributes": { "paid_subscriber": true, "monthly_spend": 155.5, "team_mates": 9 }, "tags": { "type": "tag.list", "tags": [ … ] }, "segments": { "type": "segment.list", "segments": [ … ] } }

List all notes

Request

You can fetch a list of notes that are associated to a contact.

Path
idintegerrequired

The unique identifier of a contact.

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/contacts/{id}/notes' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

Successful response

Bodyapplication/json
typestring

String representing the object's type. Always has the value list.

Example:

"list"

dataArray of objects(Note)

An array of notes.

total_countinteger

A count of the total number of notes.

Example:

1

pagesobject or null(Cursor based pages)

Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.

Response
application/json
{ "type": "list", "data": [ { … } ], "total_count": 1, "pages": { "type": "pages", "page": 1, "next": { … }, "per_page": 2, "total_pages": 13 } }

Create a note

Request

You can add a note to a single contact.

Path
idintegerrequired

The unique identifier of a given contact.

Example:

123

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
bodystringrequired

The text of the note.

Example:

"New note"

contact_idstring

The unique identifier of a given contact.

Example:

"123"

admin_idstring

The unique identifier of a given admin.

Example:

"123"

curl -i -X POST \
  'https://api.intercom.io/contacts/{id}/notes' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "body": "New note",
    "contact_id": "123",
    "admin_id": "123"
  }'
Experience it firsthand in the API Explorer!

Responses

Successful response

Bodyapplication/json
typestring

String representing the object's type. Always has the value note.

Example:

"note"

idstring

The id of the note.

Example:

"17495962"

created_atinteger(timestamp)

The time the note was created.

Example:

1674589321

contactobject or null

Represents the contact that the note was created about.

authorobject or null(Admin)

Admins are teammate accounts that have access to a workspace.

bodystring

The body text of the note.

Example:

"<p>Text for the note.</p>"

Response
application/json
{ "type": "note", "id": "17495962", "created_at": 1674589321, "contact": { "type": "string", "id": "214656d0c743eafcfde7f248" }, "author": { "type": "admin", "id": "1295", "name": "Hoban Washburne", "email": "wash@serenity.io", "job_title": "Philosopher", "away_mode_enabled": false, "away_mode_reassign": false, "has_inbox_seat": true, "team_ids": [ … ], "avatar": "https://picsum.photos/200/300", "team_priority_level": { … } }, "body": "<p>Text for the note.</p>" }

List attached segments for contact

Request

You can fetch a list of segments that are associated to a contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/contacts/{contact_id}/segments' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of the object

Value"list"
Example:

"list"

dataArray of objects(Segment)

Segment objects associated with the contact.

Response
application/json
{ "type": "list", "data": [ { … } ] }

List subscriptions for a contact

Request

You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type. This will return a list of Subscription Type objects that the contact is associated with.

The data property will show a combined list of:

1.Opt-out subscription types that the user has opted-out from. 2.Opt-in subscription types that the user has opted-in to receiving.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/contacts/{contact_id}/subscriptions' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

Successful

Bodyapplication/json
typestring

The type of the object

Value"list"
Example:

"list"

dataArray of objects(Subscription Types)

A list of subscription type objects associated with the workspace .

Response
application/json
{ "type": "list", "data": [ { … } ] }

Add subscription to a contact

Request

You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:

1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.

2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.

This will return a subscription type model for the subscription type that was added to the contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
idstringrequired

The unique identifier for the subscription which is given by Intercom

Example:

"37846"

consent_typestringrequired

The consent_type of a subscription, opt_out or opt_in.

Example:

"opt_in"

curl -i -X POST \
  'https://api.intercom.io/contacts/{contact_id}/subscriptions' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "id": "37846",
    "consent_type": "opt_in"
  }'
Experience it firsthand in the API Explorer!

Responses

Successful

Bodyapplication/json
typestring

The type of the object - subscription

Example:

"subscription"

idstring

The unique identifier representing the subscription type.

Example:

"123456"

statestring

The state of the subscription type.

Enum"live""draft""archived"
Example:

"live"

default_translationobject(Translation)

A translation object contains the localised details of a subscription type.

translationsArray of objects(Translation)

An array of translations objects with the localised version of the subscription type in each available locale within your translation settings.

consent_typestring

Describes the type of consent.

Enum"opt_out""opt_in"
Example:

"opt_in"

content_typesArray of strings

The message types that this subscription supports - can contain email or sms_message.

Items Enum"email""sms_message"
Example:

["email"]

Response
application/json
{ "type": "subscription", "id": "123456", "state": "live", "default_translation": { "name": "Announcements", "description": "Offers, product and feature announcements", "locale": "en" }, "translations": [ { … } ], "consent_type": "opt_in", "content_types": [ "email" ] }

Remove subscription from a contact

Request

You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

idstringrequired

The unique identifier for the subscription type which is given by Intercom

Example:

37846

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X DELETE \
  'https://api.intercom.io/contacts/{contact_id}/subscriptions/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

Successful

Bodyapplication/json
typestring

The type of the object - subscription

Example:

"subscription"

idstring

The unique identifier representing the subscription type.

Example:

"123456"

statestring

The state of the subscription type.

Enum"live""draft""archived"
Example:

"live"

default_translationobject(Translation)

A translation object contains the localised details of a subscription type.

translationsArray of objects(Translation)

An array of translations objects with the localised version of the subscription type in each available locale within your translation settings.

consent_typestring

Describes the type of consent.

Enum"opt_out""opt_in"
Example:

"opt_in"

content_typesArray of strings

The message types that this subscription supports - can contain email or sms_message.

Items Enum"email""sms_message"
Example:

["email"]

Response
application/json
{ "type": "subscription", "id": "123456", "state": "live", "default_translation": { "name": "Announcements", "description": "Offers, product and feature announcements", "locale": "en" }, "translations": [ { … } ], "consent_type": "opt_in", "content_types": [ "email" ] }

List tags attached to a contact

Request

You can fetch a list of all tags that are attached to a specific contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/contacts/{contact_id}/tags' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of the object

Value"list"
Example:

"list"

dataArray of objects(Tag)

A list of tags objects associated with the workspace .

Response
application/json
{ "type": "list", "data": [ { … } ] }

Add tag to a contact

Request

You can tag a specific contact. This will return a tag object for the tag that was added to the contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
idstringrequired

The unique identifier for the tag which is given by Intercom

Example:

"7522907"

curl -i -X POST \
  'https://api.intercom.io/contacts/{contact_id}/tags' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "id": "7522907"
  }'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

value is "tag"

Example:

"tag"

idstring

The id of the tag

Example:

"123456"

namestring

The name of the tag

Example:

"Test tag"

applied_atinteger(date-time)

The time when the tag was applied to the object

Example:

1663597223

applied_byobject(Reference)

reference to another object

Response
application/json
{ "type": "tag", "id": "123456", "name": "Test tag", "applied_at": 1663597223, "applied_by": { "type": "contact", "id": "1a2b3c" } }

Remove tag from a contact

Request

You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.

Path
contact_idstringrequired

The unique identifier for the contact which is given by Intercom

Example:

63a07ddf05a32042dffac965

idstringrequired

The unique identifier for the tag which is given by Intercom

Example:

7522907

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X DELETE \
  'https://api.intercom.io/contacts/{contact_id}/tags/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

value is "tag"

Example:

"tag"

idstring

The id of the tag

Example:

"123456"

namestring

The name of the tag

Example:

"Test tag"

applied_atinteger(date-time)

The time when the tag was applied to the object

Example:

1663597223

applied_byobject(Reference)

reference to another object

Response
application/json
{ "type": "tag", "id": "123456", "name": "Test tag", "applied_at": 1663597223, "applied_by": { "type": "contact", "id": "1a2b3c" } }

Update a contact

Request

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

Path
idstringrequired

id

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
One of:

You can update a contact

rolestring

The role of the contact.

external_idstring

A unique identifier for the contact which is given to Intercom

emailstring

The contacts email

Example:

"jdoe@example.com"

phonestring or null

The contacts phone

Example:

"+353871234567"

namestring or null

The contacts name

Example:

"John Doe"

avatarstring or null

An image URL containing the avatar of a contact

Example:

"https://www.example.com/avatar_image.jpg"

signed_up_atinteger or null(date-time)

The time specified for when a contact signed up

Example:

1571672154

last_seen_atinteger or null(date-time)

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

Example:

1571672154

owner_idinteger or null

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

Example:

123

unsubscribed_from_emailsboolean or null

Whether the contact is unsubscribed from emails

Example:

true

custom_attributesobject or null

The custom attributes which are set for the contact

curl -i -X PUT \
  'https://api.intercom.io/contacts/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "role": "string",
    "external_id": "string",
    "email": "jdoe@example.com",
    "phone": "+353871234567",
    "name": "John Doe",
    "avatar": "https://www.example.com/avatar_image.jpg",
    "signed_up_at": 1571672154,
    "last_seen_at": 1571672154,
    "owner_id": 123,
    "unsubscribed_from_emails": true,
    "custom_attributes": {}
  }'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of object.

Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

workspace_idstring

The id of the workspace which the contact belongs to.

Example:

"ecahpwf5"

rolestring

The role of the contact.

Example:

"user"

emailstring

The contact's email.

Example:

"joe@example.com"

email_domainstring

The contact's email domain.

Example:

"example.com"

phonestring or null

The contacts phone.

Example:

"+1123456789"

formatted_phonestring or null

The contacts phone number normalized to the E164 format

Example:

"+1123456789"

namestring or null

The contacts name.

Example:

"John Doe"

owner_idinteger or null

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

Example:

123

has_hard_bouncedboolean

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

Example:

true

marked_email_as_spamboolean

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

Example:

true

unsubscribed_from_emailsboolean

Whether the contact is unsubscribed from emails.

Example:

true

created_atinteger(date-time)

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

Example:

1571672154

updated_atinteger(date-time)

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

Example:

1571672154

signed_up_atinteger or null(date-time)

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

Example:

1571672154

last_seen_atinteger 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).

Example:

1571672154

last_replied_atinteger or null(date-time)

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

Example:

1571672154

last_contacted_atinteger or null(date-time)

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

Example:

1571672154

last_email_opened_atinteger or null(date-time)

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

Example:

1571672154

last_email_clicked_atinteger or null(date-time)

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

Example:

1571672154

language_overridestring or null

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

Example:

"en"

browserstring or null

The name of the browser which the contact is using.

Example:

"Chrome"

browser_versionstring or null

The version of the browser which the contact is using.

Example:

"80.0.3987.132"

browser_languagestring or null

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

Example:

"en-US"

osstring or null

The operating system which the contact is using.

Example:

"Mac OS X"

android_app_namestring or null

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

Example:

"Intercom"

android_app_versionstring or null

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

Example:

"5.0.0"

android_devicestring or null

The Android device which the contact is using.

Example:

"Pixel 3"

android_os_versionstring or null

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

Example:

"10"

android_sdk_versionstring or null

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

Example:

"28"

android_last_seen_atinteger or null(date-time)

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

Example:

1571672154

ios_app_namestring or null

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

Example:

"Intercom"

ios_app_versionstring or null

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

Example:

"5.0.0"

ios_devicestring or null

The iOS device which the contact is using.

Example:

"iPhone 11"

ios_os_versionstring or null

The version of iOS which the contact is using.

Example:

"13.3.1"

ios_sdk_versionstring or null

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

Example:

"13.3.1"

ios_last_seen_atinteger or null(date-time)

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

Example:

1571672154

custom_attributesobject

The custom attributes which are set for the contact.

avatarobject or null
tagsobject 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.

notesobject(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.

companiesobject(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.

locationobject(Contact Location)

An object containing location meta data about a Intercom contact.

social_profilesobject(Social Profile)

An object containing social profiles that a contact has.

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "workspace_id": "ecahpwf5", "role": "user", "email": "joe@example.com", "email_domain": "example.com", "phone": "+1123456789", "formatted_phone": "+1123456789", "name": "John Doe", "owner_id": 123, "has_hard_bounced": true, "marked_email_as_spam": true, "unsubscribed_from_emails": true, "created_at": 1571672154, "updated_at": 1571672154, "signed_up_at": 1571672154, "last_seen_at": 1571672154, "last_replied_at": 1571672154, "last_contacted_at": 1571672154, "last_email_opened_at": 1571672154, "last_email_clicked_at": 1571672154, "language_override": "en", "browser": "Chrome", "browser_version": "80.0.3987.132", "browser_language": "en-US", "os": "Mac OS X", "android_app_name": "Intercom", "android_app_version": "5.0.0", "android_device": "Pixel 3", "android_os_version": "10", "android_sdk_version": "28", "android_last_seen_at": 1571672154, "ios_app_name": "Intercom", "ios_app_version": "5.0.0", "ios_device": "iPhone 11", "ios_os_version": "13.3.1", "ios_sdk_version": "13.3.1", "ios_last_seen_at": 1571672154, "custom_attributes": {}, "avatar": { "type": "avatar", "image_url": "https://example.org/128Wash.jpg" }, "tags": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/tags", "total_count": 100, "has_more": true }, "notes": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/notes", "total_count": 100, "has_more": true }, "companies": { "url": "/contacts/5ba682d23d7cf92bef87bfd4/companies", "total_count": 100, "has_more": true }, "location": { "type": "location", "country": "Ireland", "region": "Dublin", "city": "Dublin" }, "social_profiles": { "data": [ … ] } }

Get a contact

Request

You can fetch the details of a single contact.

Path
idstringrequired

id

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  'https://api.intercom.io/contacts/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of object.

Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

workspace_idstring

The id of the workspace which the contact belongs to.

Example:

"ecahpwf5"

rolestring

The role of the contact.

Example:

"user"

emailstring

The contact's email.

Example:

"joe@example.com"

email_domainstring

The contact's email domain.

Example:

"example.com"

phonestring or null

The contacts phone.

Example:

"+1123456789"

formatted_phonestring or null

The contacts phone number normalized to the E164 format

Example:

"+1123456789"

namestring or null

The contacts name.

Example:

"John Doe"

owner_idinteger or null

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

Example:

123

has_hard_bouncedboolean

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

Example:

true

marked_email_as_spamboolean

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

Example:

true

unsubscribed_from_emailsboolean

Whether the contact is unsubscribed from emails.

Example:

true

created_atinteger(date-time)

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

Example:

1571672154

updated_atinteger(date-time)

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

Example:

1571672154

signed_up_atinteger or null(date-time)

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

Example:

1571672154

last_seen_atinteger 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).

Example:

1571672154

last_replied_atinteger or null(date-time)

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

Example:

1571672154

last_contacted_atinteger or null(date-time)

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

Example:

1571672154

last_email_opened_atinteger or null(date-time)

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

Example:

1571672154

last_email_clicked_atinteger or null(date-time)

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

Example:

1571672154

language_overridestring or null

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

Example:

"en"

browserstring or null

The name of the browser which the contact is using.

Example:

"Chrome"

browser_versionstring or null

The version of the browser which the contact is using.

Example:

"80.0.3987.132"

browser_languagestring or null

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

Example:

"en-US"

osstring or null

The operating system which the contact is using.

Example:

"Mac OS X"

android_app_namestring or null

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

Example:

"Intercom"

android_app_versionstring or null

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

Example:

"5.0.0"

android_devicestring or null

The Android device which the contact is using.

Example:

"Pixel 3"

android_os_versionstring or null

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

Example:

"10"

android_sdk_versionstring or null

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

Example:

"28"

android_last_seen_atinteger or null(date-time)

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

Example:

1571672154

ios_app_namestring or null

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

Example:

"Intercom"

ios_app_versionstring or null

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

Example:

"5.0.0"

ios_devicestring or null

The iOS device which the contact is using.

Example:

"iPhone 11"

ios_os_versionstring or null

The version of iOS which the contact is using.

Example:

"13.3.1"

ios_sdk_versionstring or null

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

Example:

"13.3.1"

ios_last_seen_atinteger or null(date-time)

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

Example:

1571672154

custom_attributesobject

The custom attributes which are set for the contact.

avatarobject or null
tagsobject 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.

notesobject(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.

companiesobject(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.

locationobject(Contact Location)

An object containing location meta data about a Intercom contact.

social_profilesobject(Social Profile)

An object containing social profiles that a contact has.

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "workspace_id": "ecahpwf5", "role": "user", "email": "joe@example.com", "email_domain": "example.com", "phone": "+1123456789", "formatted_phone": "+1123456789", "name": "John Doe", "owner_id": 123, "has_hard_bounced": true, "marked_email_as_spam": true, "unsubscribed_from_emails": true, "created_at": 1571672154, "updated_at": 1571672154, "signed_up_at": 1571672154, "last_seen_at": 1571672154, "last_replied_at": 1571672154, "last_contacted_at": 1571672154, "last_email_opened_at": 1571672154, "last_email_clicked_at": 1571672154, "language_override": "en", "browser": "Chrome", "browser_version": "80.0.3987.132", "browser_language": "en-US", "os": "Mac OS X", "android_app_name": "Intercom", "android_app_version": "5.0.0", "android_device": "Pixel 3", "android_os_version": "10", "android_sdk_version": "28", "android_last_seen_at": 1571672154, "ios_app_name": "Intercom", "ios_app_version": "5.0.0", "ios_device": "iPhone 11", "ios_os_version": "13.3.1", "ios_sdk_version": "13.3.1", "ios_last_seen_at": 1571672154, "custom_attributes": {}, "avatar": { "type": "avatar", "image_url": "https://example.org/128Wash.jpg" }, "tags": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/tags", "total_count": 100, "has_more": true }, "notes": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/notes", "total_count": 100, "has_more": true }, "companies": { "url": "/contacts/5ba682d23d7cf92bef87bfd4/companies", "total_count": 100, "has_more": true }, "location": { "type": "location", "country": "Ireland", "region": "Dublin", "city": "Dublin" }, "social_profiles": { "data": [ … ] } }

Delete a contact

Request

You can delete a single contact.

Path
idstringrequired

id

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X DELETE \
  'https://api.intercom.io/contacts/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

always contact

Value"contact"
Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

deletedboolean

Whether the contact is deleted or not.

Example:

true

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "deleted": true }

Merge a lead and a user

Request

You can merge a contact with a role of lead into a contact with a role of user.

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
fromstring

The unique identifier for the contact to merge away from. Must be a lead.

Example:

"5d70dd30de4efd54f42fd526"

intostring

The unique identifier for the contact to merge into. Must be a user.

Example:

"5ba682d23d7cf92bef87bfd4"

curl -i -X POST \
  https://api.intercom.io/contacts/merge \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "from": "5d70dd30de4efd54f42fd526",
    "into": "5ba682d23d7cf92bef87bfd4"
  }'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of object.

Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

workspace_idstring

The id of the workspace which the contact belongs to.

Example:

"ecahpwf5"

rolestring

The role of the contact.

Example:

"user"

emailstring

The contact's email.

Example:

"joe@example.com"

email_domainstring

The contact's email domain.

Example:

"example.com"

phonestring or null

The contacts phone.

Example:

"+1123456789"

formatted_phonestring or null

The contacts phone number normalized to the E164 format

Example:

"+1123456789"

namestring or null

The contacts name.

Example:

"John Doe"

owner_idinteger or null

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

Example:

123

has_hard_bouncedboolean

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

Example:

true

marked_email_as_spamboolean

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

Example:

true

unsubscribed_from_emailsboolean

Whether the contact is unsubscribed from emails.

Example:

true

created_atinteger(date-time)

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

Example:

1571672154

updated_atinteger(date-time)

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

Example:

1571672154

signed_up_atinteger or null(date-time)

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

Example:

1571672154

last_seen_atinteger 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).

Example:

1571672154

last_replied_atinteger or null(date-time)

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

Example:

1571672154

last_contacted_atinteger or null(date-time)

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

Example:

1571672154

last_email_opened_atinteger or null(date-time)

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

Example:

1571672154

last_email_clicked_atinteger or null(date-time)

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

Example:

1571672154

language_overridestring or null

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

Example:

"en"

browserstring or null

The name of the browser which the contact is using.

Example:

"Chrome"

browser_versionstring or null

The version of the browser which the contact is using.

Example:

"80.0.3987.132"

browser_languagestring or null

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

Example:

"en-US"

osstring or null

The operating system which the contact is using.

Example:

"Mac OS X"

android_app_namestring or null

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

Example:

"Intercom"

android_app_versionstring or null

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

Example:

"5.0.0"

android_devicestring or null

The Android device which the contact is using.

Example:

"Pixel 3"

android_os_versionstring or null

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

Example:

"10"

android_sdk_versionstring or null

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

Example:

"28"

android_last_seen_atinteger or null(date-time)

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

Example:

1571672154

ios_app_namestring or null

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

Example:

"Intercom"

ios_app_versionstring or null

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

Example:

"5.0.0"

ios_devicestring or null

The iOS device which the contact is using.

Example:

"iPhone 11"

ios_os_versionstring or null

The version of iOS which the contact is using.

Example:

"13.3.1"

ios_sdk_versionstring or null

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

Example:

"13.3.1"

ios_last_seen_atinteger or null(date-time)

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

Example:

1571672154

custom_attributesobject

The custom attributes which are set for the contact.

avatarobject or null
tagsobject 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.

notesobject(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.

companiesobject(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.

locationobject(Contact Location)

An object containing location meta data about a Intercom contact.

social_profilesobject(Social Profile)

An object containing social profiles that a contact has.

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "workspace_id": "ecahpwf5", "role": "user", "email": "joe@example.com", "email_domain": "example.com", "phone": "+1123456789", "formatted_phone": "+1123456789", "name": "John Doe", "owner_id": 123, "has_hard_bounced": true, "marked_email_as_spam": true, "unsubscribed_from_emails": true, "created_at": 1571672154, "updated_at": 1571672154, "signed_up_at": 1571672154, "last_seen_at": 1571672154, "last_replied_at": 1571672154, "last_contacted_at": 1571672154, "last_email_opened_at": 1571672154, "last_email_clicked_at": 1571672154, "language_override": "en", "browser": "Chrome", "browser_version": "80.0.3987.132", "browser_language": "en-US", "os": "Mac OS X", "android_app_name": "Intercom", "android_app_version": "5.0.0", "android_device": "Pixel 3", "android_os_version": "10", "android_sdk_version": "28", "android_last_seen_at": 1571672154, "ios_app_name": "Intercom", "ios_app_version": "5.0.0", "ios_device": "iPhone 11", "ios_os_version": "13.3.1", "ios_sdk_version": "13.3.1", "ios_last_seen_at": 1571672154, "custom_attributes": {}, "avatar": { "type": "avatar", "image_url": "https://example.org/128Wash.jpg" }, "tags": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/tags", "total_count": 100, "has_more": true }, "notes": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/notes", "total_count": 100, "has_more": true }, "companies": { "url": "/contacts/5ba682d23d7cf92bef87bfd4/companies", "total_count": 100, "has_more": true }, "location": { "type": "location", "country": "Ireland", "region": "Dublin", "city": "Dublin" }, "social_profiles": { "data": [ … ] } }

Search contacts

Request

You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.

To search for contacts, you need to send a POST request to https://api.intercom.io/contacts/search.

This will accept a query object in the body which will define your filters in order to search for contacts.

Optimizing search queries

Search queries can be complex, so optimizing them can help the performance of your search. Use the AND and OR operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is 50 results per page. See the pagination section for more details on how to use the starting_after param.

Contact Creation Delay

If a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.

Nesting & Limitations

You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiple's there can be:

  • There's a limit of max 2 nested filters
  • There's a limit of max 15 filters for each AND or OR group

Searching for Timestamp Fields

All timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second. For example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards. If you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM). This behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.

Accepted Fields

Most key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as created_at accepts a date, the value cannot be a string such as "foorbar").

FieldType
idString
roleString
Accepts user or lead
nameString
avatarString
owner_idInteger
emailString
email_domainString
phoneString
formatted_phoneString
external_idString
created_atDate (UNIX Timestamp)
signed_up_atDate (UNIX Timestamp)
updated_atDate (UNIX Timestamp)
last_seen_atDate (UNIX Timestamp)
last_contacted_atDate (UNIX Timestamp)
last_replied_atDate (UNIX Timestamp)
last_email_opened_atDate (UNIX Timestamp)
last_email_clicked_atDate (UNIX Timestamp)
language_overrideString
browserString
browser_languageString
osString
location.countryString
location.regionString
location.cityString
unsubscribed_from_emailsBoolean
marked_email_as_spamBoolean
has_hard_bouncedBoolean
ios_last_seen_atDate (UNIX Timestamp)
ios_app_versionString
ios_deviceString
ios_app_deviceString
ios_os_versionString
ios_app_nameString
ios_sdk_versionString
android_last_seen_atDate (UNIX Timestamp)
android_app_versionString
android_deviceString
android_app_nameString
andoid_sdk_versionString
segment_idString
tag_idString
custom_attributes.{attribute_name}String

Accepted Operators

Searching based on `created_at`

You cannot use the <= or >= operators to search by created_at.

The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string ("="). The operator has to be compatible with the field's type (eg. you cannot search with > for a given string value as it's only compatible for integer's and dates).

OperatorValid TypesDescription
=AllEquals
!=AllDoesn't Equal
INAllIn
Shortcut for OR queries
Values must be in Array
NINAllNot In
Shortcut for OR ! queries
Values must be in Array
>Integer
Date (UNIX Timestamp)
Greater than
<Integer
Date (UNIX Timestamp)
Lower than
~StringContains
!~StringDoesn't Contain
^StringStarts With
$StringEnds With
Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
querySingle Filter Search Request (object) or Multiple Filter Search Request (object)required
One of:

Search using Intercoms Search APIs with a single filter.

query.fieldstring

The accepted field that you want to search on.

Example:

"created_at"

query.operatorstring

The accepted operators you can use to define how you want to search for the value.

Enum"=""!=""IN""NIN""<"">""~""!~""^""$"
Example:

">"

query.valuestring

The value that you want to search on.

Example:

"73732934"

paginationobject or null(Pagination: Starting After)
curl -i -X POST \
  https://api.intercom.io/contacts/search \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "query": {
      "field": "created_at",
      "operator": ">",
      "value": "73732934"
    },
    "pagination": {
      "per_page": 2,
      "starting_after": "your-cursor-from-response"
    }
  }'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

Always list

Value"list"
Example:

"list"

dataArray of objects(Contact)

The list of contact objects

total_countinteger

A count of the total number of objects.

Example:

100

pagesobject or null(Cursor based pages)

Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.

Response
application/json
{ "type": "list", "data": [ { … } ], "total_count": 100, "pages": { "type": "pages", "page": 1, "next": { … }, "per_page": 2, "total_pages": 13 } }

List all contacts

Request

You can fetch a list of all contacts (ie. users or leads) in your workspace.

Pagination

You can use pagination to limit the number of results returned. The default is 50 results per page. See the pagination section for more details on how to use the starting_after param.

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X GET \
  https://api.intercom.io/contacts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

Always list

Value"list"
Example:

"list"

dataArray of objects(Contact)

The list of contact objects

total_countinteger

A count of the total number of objects.

Example:

100

pagesobject or null(Cursor based pages)

Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.

Response
application/json
{ "type": "list", "data": [ { … } ], "total_count": 100, "pages": { "type": "pages", "page": 1, "next": { … }, "per_page": 2, "total_pages": 13 } }

Create contact

Request

You can create a new contact (ie. user or lead).

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

Bodyapplication/json
One of:

Payload to create a contact

Any of:

Payload to create a contact

rolestring

The role of the contact.

external_idstring

A unique identifier for the contact which is given to Intercom

emailstringrequired

The contacts email

Example:

"jdoe@example.com"

phonestring or null

The contacts phone

Example:

"+353871234567"

namestring or null

The contacts name

Example:

"John Doe"

avatarstring or null

An image URL containing the avatar of a contact

Example:

"https://www.example.com/avatar_image.jpg"

signed_up_atinteger or null(date-time)

The time specified for when a contact signed up

Example:

1571672154

last_seen_atinteger or null(date-time)

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

Example:

1571672154

owner_idinteger or null

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

Example:

123

unsubscribed_from_emailsboolean or null

Whether the contact is unsubscribed from emails

Example:

true

custom_attributesobject or null

The custom attributes which are set for the contact

curl -i -X POST \
  https://api.intercom.io/contacts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.11' \
  -d '{
    "role": "string",
    "external_id": "string",
    "email": "jdoe@example.com",
    "phone": "+353871234567",
    "name": "John Doe",
    "avatar": "https://www.example.com/avatar_image.jpg",
    "signed_up_at": 1571672154,
    "last_seen_at": 1571672154,
    "owner_id": 123,
    "unsubscribed_from_emails": true,
    "custom_attributes": {}
  }'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

The type of object.

Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

workspace_idstring

The id of the workspace which the contact belongs to.

Example:

"ecahpwf5"

rolestring

The role of the contact.

Example:

"user"

emailstring

The contact's email.

Example:

"joe@example.com"

email_domainstring

The contact's email domain.

Example:

"example.com"

phonestring or null

The contacts phone.

Example:

"+1123456789"

formatted_phonestring or null

The contacts phone number normalized to the E164 format

Example:

"+1123456789"

namestring or null

The contacts name.

Example:

"John Doe"

owner_idinteger or null

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

Example:

123

has_hard_bouncedboolean

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

Example:

true

marked_email_as_spamboolean

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

Example:

true

unsubscribed_from_emailsboolean

Whether the contact is unsubscribed from emails.

Example:

true

created_atinteger(date-time)

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

Example:

1571672154

updated_atinteger(date-time)

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

Example:

1571672154

signed_up_atinteger or null(date-time)

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

Example:

1571672154

last_seen_atinteger 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).

Example:

1571672154

last_replied_atinteger or null(date-time)

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

Example:

1571672154

last_contacted_atinteger or null(date-time)

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

Example:

1571672154

last_email_opened_atinteger or null(date-time)

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

Example:

1571672154

last_email_clicked_atinteger or null(date-time)

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

Example:

1571672154

language_overridestring or null

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

Example:

"en"

browserstring or null

The name of the browser which the contact is using.

Example:

"Chrome"

browser_versionstring or null

The version of the browser which the contact is using.

Example:

"80.0.3987.132"

browser_languagestring or null

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

Example:

"en-US"

osstring or null

The operating system which the contact is using.

Example:

"Mac OS X"

android_app_namestring or null

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

Example:

"Intercom"

android_app_versionstring or null

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

Example:

"5.0.0"

android_devicestring or null

The Android device which the contact is using.

Example:

"Pixel 3"

android_os_versionstring or null

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

Example:

"10"

android_sdk_versionstring or null

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

Example:

"28"

android_last_seen_atinteger or null(date-time)

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

Example:

1571672154

ios_app_namestring or null

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

Example:

"Intercom"

ios_app_versionstring or null

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

Example:

"5.0.0"

ios_devicestring or null

The iOS device which the contact is using.

Example:

"iPhone 11"

ios_os_versionstring or null

The version of iOS which the contact is using.

Example:

"13.3.1"

ios_sdk_versionstring or null

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

Example:

"13.3.1"

ios_last_seen_atinteger or null(date-time)

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

Example:

1571672154

custom_attributesobject

The custom attributes which are set for the contact.

avatarobject or null
tagsobject 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.

notesobject(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.

companiesobject(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.

locationobject(Contact Location)

An object containing location meta data about a Intercom contact.

social_profilesobject(Social Profile)

An object containing social profiles that a contact has.

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "workspace_id": "ecahpwf5", "role": "user", "email": "joe@example.com", "email_domain": "example.com", "phone": "+1123456789", "formatted_phone": "+1123456789", "name": "John Doe", "owner_id": 123, "has_hard_bounced": true, "marked_email_as_spam": true, "unsubscribed_from_emails": true, "created_at": 1571672154, "updated_at": 1571672154, "signed_up_at": 1571672154, "last_seen_at": 1571672154, "last_replied_at": 1571672154, "last_contacted_at": 1571672154, "last_email_opened_at": 1571672154, "last_email_clicked_at": 1571672154, "language_override": "en", "browser": "Chrome", "browser_version": "80.0.3987.132", "browser_language": "en-US", "os": "Mac OS X", "android_app_name": "Intercom", "android_app_version": "5.0.0", "android_device": "Pixel 3", "android_os_version": "10", "android_sdk_version": "28", "android_last_seen_at": 1571672154, "ios_app_name": "Intercom", "ios_app_version": "5.0.0", "ios_device": "iPhone 11", "ios_os_version": "13.3.1", "ios_sdk_version": "13.3.1", "ios_last_seen_at": 1571672154, "custom_attributes": {}, "avatar": { "type": "avatar", "image_url": "https://example.org/128Wash.jpg" }, "tags": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/tags", "total_count": 100, "has_more": true }, "notes": { "data": [ … ], "url": "/contacts/5ba682d23d7cf92bef87bfd4/notes", "total_count": 100, "has_more": true }, "companies": { "url": "/contacts/5ba682d23d7cf92bef87bfd4/companies", "total_count": 100, "has_more": true }, "location": { "type": "location", "country": "Ireland", "region": "Dublin", "city": "Dublin" }, "social_profiles": { "data": [ … ] } }

Archive contact

Request

You can archive a single contact.

Path
idstringrequired

id

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X POST \
  'https://api.intercom.io/contacts/{id}/archive' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

always contact

Value"contact"
Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

archivedboolean

Whether the contact is archived or not.

Example:

true

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "archived": true }

Unarchive contact

Request

You can unarchive a single contact.

Path
idstringrequired

id

Example:

63a07ddf05a32042dffac965

Headers
Intercom-Versionstring(intercom_version)

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

Default 2.11
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:

2.11

curl -i -X POST \
  'https://api.intercom.io/contacts/{id}/unarchive' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.11'
Experience it firsthand in the API Explorer!

Responses

successful

Bodyapplication/json
typestring

always contact

Value"contact"
Example:

"contact"

idstring

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

Example:

"5ba682d23d7cf92bef87bfd4"

external_idstring or null

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

Example:

"f3b87a2e09d514c6c2e79b9a"

archivedboolean

Whether the contact is archived or not.

Example:

false

Response
application/json
{ "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "f3b87a2e09d514c6c2e79b9a", "archived": false }

Conversations

Everything about your Conversations

Operations

Data Attributes

Everything about your Data Attributes

Operations

Data Events

Everything about your Data Events

Operations

Data Export

Everything about your Data Exports

Operations

Help Center

Everything about your Help Center

Operations

Messages

Everything about your messages

Operations

News

Everything about your News

Operations

Notes

Everything about your Notes

Operations

Segments

Everything about your Segments

Operations

Subscription Types

Everything about subscription types

Operations

Switch

Everything about Switch

Operations

Tags

Everything about tags

Operations

Teams

Everything about your Teams

Operations

Ticket Type Attributes

Everything about your ticket type attributes

Operations

Ticket Types

Everything about your ticket types

Operations

Tickets

Everything about your tickets

Operations

Visitors

Everything about your Visitors

Operations

Models