List Deleted Items
Changed onReturns the items deleted from the organization identified by entityId — bookings, events, bookingless events, invoices, settlement messages and tasks — with what each item was and when it was deleted, newest deletion first.
entityId is the same identifier List Organization Members returns for each of your memberships, and each read is scoped to the agency in the path: entries recorded for one agency are never returned for another. The stream reflects items currently deleted, not a deletion audit trail — restoring an item removes its entry, and a later deletion of the same item records a fresh one. The caller must hold the owner role on that organization; other members are refused with HTTP 403.
The request body is optional; when omitted the newest page of all types is returned. types narrows the stream to the listed types (case-insensitive, an unknown literal is refused with HTTP 400) and limit sets the page size between 1 and 200, defaulting to 50.
To get the next page, send the previous response's nextCursor back unchanged as cursor, and repeat until nextCursor comes back null. The cursor holds your place in the newest-first list, not a copy of it: an item restored before you reach it will not appear, and items deleted while you page, including ones deleted again, go to the top, where you will see them the next time you start from the newest page. A page can hold fewer than limit entries, or none, and still carry a nextCursor. This happens most often when types matches only a few items, because each call stops after looking through a limited number of deleted items. A short or empty page is not the end of the list; only a null nextCursor is.
Each entry carries the item type, its itemId, the owning bookingId where one exists (null for a bookingless event, and for a task with no linked booking), a human-readable reference built at delete time, and deletedAt. Treat reference as display text, not a parseable format. A deleted booking no longer appears in Run Report output, so this list is how you learn that a booking you reported on earlier was deleted.
Request
- Base URLhttps://api.gigwell.com/api
- AuthHTTP bearer
Path parameters
The agency's entity ID whose deleted items are listed.
Request body
Response
OK
Changes
- info
endpoint added
- info