Restore from Trash
/v2/trash/restoreRestores Trash rows of one kind: by ids (Trash row ids from GET /v2/trash), or all: true with the listing filters (search, since). Restored records are saved in the workspace again, in the lists they were in. Small restores are applied inline (200, done); larger ones are queued (202, running, poll Location). One bulk action runs per workspace at a time. With an Idempotency-Key, a retry answers the job it started. Free; 1 jobs rate-limit unit.
Body parameters
kindenumrequiredWhich Trash tab the rows are in.
Allowed values:
personcompanylistidsstring[]optionalTrash row ids (
idofGET /v2/trashitems). Exactly one ofidsandall: true.allbooleanoptionalRestore every row of
kindthe listing filters match.searchstringoptionalmax length: 200With
all: a case-insensitive name prefix.sincestringoptionalWith
all: only rows deleted at or after this ISO 8601 date.
Responses
For error handling see Errors. Response objects are described in Person object and Company object.
