Pending deletes
List pending deletes
One sync's deletes waiting on a person, newest first. When a record goes missing on one side, Whalesync holds the delete instead of applying it to the other side, so an accidental or API-caused disappearance cannot destroy data. Approving or ignoring a delete is deliberately not in this API: it is irreversible, so it stays a decision a person makes in the app — relay review_url.
get/v1/sync/pending-deletes
Request
- Base URL: https://api.whalesync.com
- URL: https://api.whalesync.com/v1/sync/pending-deletes
- Auth: HTTP bearer
Query parameters
syncstring required
The sync id to list pending deletes for.
state'awaiting_review' | 'ignored'
Defaults to awaiting_review. ignored lists the deletes a person chose to keep the record for.
limitinteger
cursorstring
The next_cursor of the previous page.
Response
A page of pending deletes, newest first.
Example response
{
"data": [
{
"record_id": "rec_1d0b06b0-6f5e-4a3e-9d15-3a7b0e2f9a41",
"sync_id": "sync_9f2c…",
"record": {
"remote_id": "recXYZ",
"table": {
"id": "table_1d0b06b0-6f5e-4a3e-9d15-3a7b0e2f9a41",
"remote_id": "tblContacts",
"name": "Contacts"
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.