Unarchive an account

post
unarchive an account

https://data.salesmachine.io/v2/accounts/:id/unarchive
This endpoint allows you to get free cakes.
Request
Response
Request
Path Parameters
id
required
string
Salesmachine account ID
Response
200: OK
Account successfully retrieved.
{
"object": "account",
"id": "5d3bae5bcb4a287b44583a55",
"unique_id": "5d3bae4cf92ea13a3dfb542e",
"created_at": 1564192347,
"data": {
"name": "Acme corp"
},
"salesmachine": {
"health": "good"
},
"stage": {
"name": "Trial",
"id": "5b2bc014ce8d8355c6d48b70"
},
"contacts": {
"object": "contact.list",
"data": [
{
"id": "5d3bae278cae234bef95405a"
}
]
}
}
404: Not Found
Could not find an account matching this query.
{
"error": "404 Object not found"
}

Example

curl -X GET https://data.salesmachine.io/v2/accounts/{id}/unarchive \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>'