Home//
REST API Reference
/- Delete a contact
List attached contacts
Attach a Contact to a Company
List attached companies for contact
Detach a contact from a company
List all notes
Create a note
List attached segments for contact
List subscriptions for a contact
Add subscription to a contact
Remove subscription from a contact
List tags attached to a contact
Add tag to a contact
Remove tag from a contact
List deleted contacts
Update a contact
Get a contact
Merge a lead and a user
Preview a contact merge
Search contacts
List all contact activities
List all contacts
Create contact
Get a contact by External ID
Archive contact
Unarchive contact
List banners for a contact
Dismiss a banner for a contact
Block contact
Get contact merge history
Bulk create contacts
Bulk update contacts
Bulk delete contacts
Get a bulk update job
Contact
Contacts Bulk Job
Delete a contact
You can delete a single contact.
Requires the read_write_users or write_users_companies OAuth scope.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.17
- The production API serverhttps://api.intercom.io/contacts/{contact_id}
- The european API serverhttps://api.eu.intercom.io/contacts/{contact_id}
- The australian API serverhttps://api.au.intercom.io/contacts/{contact_id}
library(httr)
contact_id = "YOUR_contact_id_PARAMETER"
# create you own operator
"%&%" <- function(x, y)paste0(x,y)
url = "https://api.intercom.io/contacts/" %&% contact_id
data_req <- DELETE(
url,
add_headers("Intercom-Version" = "2.17", "Authorization" = "Bearer <YOUR_TOKEN_HERE>"),
verbose()
)
content(data_req)successful
The unique identifier for the contact which is given by Intercom.
Example:"5ba682d23d7cf92bef87bfd4"
The unique identifier for the contact which is provided by the Client.
Example:"70"
Response
{ "deleted": true, "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "70" }