API ReferenceBuilding AppsInstalling IntercomAPI & Webhook ReferenceCanvas Kit Reference
DocsApp StoreForumBlogYour Apps

Unarchive a contact

Example Request & Response

$ curl https://api.intercom.io/contacts/<id>/unarchive \
-X POST \
-H 'Authorization:Bearer <Your access token>' \
-H 'Accept:application/json'
HTTP/1.1 200 OK
{
  "id": "5ba682d23d7cf92bef87bfd4",
  "object": "contact",
  "archived": "false"
}
Example Errors

HTTP/1.1 404 FOUND
{
  "type": "error.list",
  "request_id": "9a3d0816-9707-4598-977e-c009ba630148",
  "errors": [
    {
      "code": "not_found",
      "message": "Contact Not Found"
    }
  ]
}

You can unarchive a single contact.

Request Path Parameters

ParameterTypeRequiredDescription
idStringYesThe unique identifier for the contact which is given by Intercom

Response

This will return an object with details on the unarchived contact.

AttributeTypeDescription
idStringThe unique identifier for the contact which is given by Intercom
objectStringThe type of object - contact
archivedBooleanWhether the contact has been archived - false