Unarchive a contact

Unarchiving a contact will make it visible in the application and available again for processing.

post
unarchive contact

https://data.salesmachine.io/v2/contacts/:id/unarchive
This endpoint allows you to unarchive a contact
Request
Response
Request
Path Parameters
id
required
string
salesmachine contact ID
Response
200: OK
Contact successfully retrieved.
{
"object": "contact",
"id": "5d3bae5bcb4a287b44583a55",
"unique_id": "5d3bae4cf92ea13a3dfb542e",
"created_at": 1564192347,
"archived": true,
"data": {
...
},
"salesmachine": {
...
},
"stage": {
"name": "Trial",
"id": "5b2bc014ce8d8355c6d48b70"
},
"accounts": {
"object": "account.list",
"data": [
{
"id": "5d3bae278cae234bef95405a"
}
]
}
}
‚Äč
404: Not Found
Could not find a contact matching this query.
{
"error": "404 Object not found"
}
curl -X GET https://data.salesmachine.io/v2/contacts/{id}/unarchive \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>'