SautiDesk
SautiDesk API
Contacts

Restore a deleted contact

POST
/v1/desk/bin/{id}/restore

Restores a deleted contact from the bin, with its numbers, emails and history. It works until the 30 days in the bin are up.

Requires: desk.write scope, Contacts licence.

Authorization

bearerAuth
AuthorizationBearer <token>

A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.

In: header

Path Parameters

id*string

The bin's id (a UUID).

Response

OK

Example

{  "restored": true}
FieldTypeDescription
restoredrequiredany
curl -X POST "https://api.sautidesk.com/v1/desk/bin/string/restore"