Restore an item of the trash
Bring one item back where it was, with everything deleted at the same time as it. A person or a group gets back the reminders their deletion stopped.
An item deleted with a person or a group still in the trash answers 422 on item, saying to restore them first. So does a relationship or a membership whose other end is in the trash, and a record whose type was deleted from the account settings.
Path parameters
Sent as JSON. Anything not listed here is ignored.
The vault the trash belongs to, named either by the readable name it reports as slug or by its id.
The kind of the item, as the list gives it: contact, entity, group, relationship, life-event, reminder, group-membership, group-note or group-file.
The id of the item, as the list gives it. One not in the trash of this vault, or belonging to another account, answers 404.
Returns
What came back.
The item.
Always trash_item. It names the kind of record, so a caller holding several kinds can tell them apart without looking at where they came from.
The id of this record, as a string even when it reads as a number. It is what every endpoint naming this record takes.
Everything the record holds.
What the item is.
What the item is called.
What came back with it, one entry per kind. Empty when nothing did.
One kind that came back.
The kind of what came back.
How many items of that kind came back.
Rate limit
Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.