Skip to main content
POST
Update leak status

Overview

Update the status of one or more leaks to track remediation progress. You can mark leaks as fixed when credentials have been changed or open if they need attention.

Authentication & Authorization

Access Control

  • Personal leaks: Always accessible if the leak belongs to your email
  • Employee/Customer leaks: Requires domain verification for the associated domain
  • Bulk operations: All specified leaks must be accessible to your account

Privacy-First Validation

The API validates leak ownership before allowing status updates to ensure users can only modify leaks they have access to.

Request Body

You can update a single leak or multiple leaks in one request:

Single Leak Update

Multiple Leaks Update

Status Values

Response Examples

Successful Update

Bulk Update Success

Error Responses

Invalid Request Body

Access Denied

Leak Not Found

Validation Rules

Required Fields

  • Either leakid (single) OR leakids (multiple) must be provided
  • status field is required and must be either "open" or "fixed"

Leak ID Format

  • Must be 32-character MD5 hash (e.g., b3652f2555841f7652badd9804859f4e)
  • Invalid format will result in a 400 error

Ownership Validation

  • API validates that you have access to each leak before updating
  • Unauthorized leaks will result in a 403 error

Usage Examples

Mark single leak as fixed

Mark multiple leaks as fixed

Reopen a previously fixed leak

Best Practices

Remediation Workflow

  1. Identify leaks using the main leaks endpoint
  2. Get detailed info using the leak info endpoint
  3. Change credentials on the affected service
  4. Mark as fixed using this status endpoint
  5. Monitor for new leaks regularly

Bulk Operations

  • Use bulk updates when fixing multiple related leaks
  • Validate all leak IDs before making bulk requests
  • Handle partial failures gracefully in bulk operations

Status Management

  • Mark leaks as fixed only after confirming credential changes
  • Use open status to flag leaks that need immediate attention
  • Regularly audit fixed leaks to ensure they remain secure

Error Handling

  • Implement retry logic for transient failures
  • Log access denied errors for security monitoring
  • Validate leak ID format before making requests

Authorizations

X-API-Key
string
header
required

Body

application/json
leakid
string
leakids
string[]
status
enum<string>
Available options:
fixed,
open,
NA

Response

OK

status
string
message
string
leak_id
string
new_status
enum<string>
Available options:
fixed,
open,
NA