List mortgage deletes
Deletion log for mortgage records removed from the list feed. The list endpoint does not include these records. Cursor-paginated. Each item is { id, reference_id, type, reason, deleted_at }, where id is the log row ID and reference_id is the removed loan transaction. type is mortgage. reason tells you what to do with the object reference_id names: inactive means mark it inactive, and deleted or soft_deleted means delete it.
inactive means Modex removed the record from the feed. The same record, with the same id, can become active again on GET /v1/resources/mortgages. When it does, updated_at changes, so a later incremental sync of that list includes it.
Keeping in sync: the first request is sort=deleted_at&filter[deleted_at]=gte:LAST_SYNC_TIME&limit=100. For the next page, request pagination.next_page_url until it is null. After that last page, save the latest deleted_at you received and use that time as LAST_SYNC_TIME on the following sync. Look up one removed record with filter[reference_id].
Requires the same data agreement as the list. Without one the request returns 403. This feed is not limited by state.
Sort: deleted_at (default). Prefix with - for descending. Rows with the same time are ordered by log id.
Filters: deleted_at, id, reference_id.
Fields
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Sort order: deleted_at (default). Prefix with - for descending. Rows with the same time are ordered by log id.
When the record was removed. Accepts an operator: gte:, gt:, lte:, or lt:. Combine two with a comma for a range, for example gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z. Without an operator the value must match exactly. Write times in UTC with Z, or URL-encode the + in an offset.
Value of pagination.next_cursor from the previous page. Leave out for the first page. Keep sort and filters unchanged between pages.
