Skip to main content
POST
Undo a revert batch

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Path Parameters

batchId
string
required

Batch id returned by the revert call

Body

application/json
reason
string

Why the undo happened — stored in the audit trail and webhook events. Defaults to a generated message.

Minimum string length: 3
Example:

"Reverted the wrong day — restoring"

preview
boolean
default:false

Dry run: per-account report of what the undo WOULD restore (and which accounts are blocked), nothing changed.

Example:

true

Response

Undo processed (check per-account failures)

success
boolean
Example:

true

message
string
Example:

"Restored 1 account to their pre-revert state"

data
object
Example: