Scrub API
POST/v1/tools/restore_recordfree

Restore a deleted record

Brings back a person, company, deal or task deleted in the last 30 days, by its id, free, with its links as they were. Refused when someone kept since has its email, or a company its website.

Fields

FieldTypeDefaultWhat it is
recordstringRequiredIts id: pe_…, co_…, de_… or ta_…

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/restore_record \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"record":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.