Answered

How to unarchive a contact?


Some user where archive by mistake, so when trying to create the user back with the API we get this error:

{
"type": "error.list",
"request_id": "004qkagkoq5kktea5hdg",
"errors": [
{
"code": "conflict",
"message": "An archived contact matching those details already exists with id=56547a5ec95b4fea0a001635"
}
]
}

Then I try to unarchive that user from the API and get this other error:

{
"type": "error.list",
"request_id": "004pqlusas3rnlsqvupg",
"errors": [
{
"code": "bad_request",
"message": "User has been merged and is not restorable."
}
]
}

What could I do to create a user with the same external_id and email?

icon

Best answer by Aparna 23 May 2022, 22:32

View original

2 replies

Hey @user2218​ ! To clarify did you archive the user or permanently delete the user? It's not possible to restore an archived user/lead from within the UI, however, there are a few other ways to restore users and leads. This includes



1: If the user/lead returns to your site/login again

2: Adding the user/lead manually with a CSV import

3: Requesting a manual restore by the Intercom team for the user

 

Once restored, the user or lead's Intercom profile will be restored with all data and conversation details.



The reason it is set up this way is to separate the act of not tracking a user, to deleting them for privacy reasons. I hope that helps, but let me know if you have any other questions. 

Hi! Is it possible to log in on behalf of that archived user having admin access?

Reply