Account Recovery API

A secure, reliable API service for handling user account recovery. Send recovery emails, manage secure tokens, and receive webhook notifications when users complete the recovery process.

How it works

1

Initialize Recovery

Call our API with user email and redirect URL. We generate a secure token and send the recovery email.

2

User Clicks Link

When the user clicks the recovery link, we validate the token and immediately webhook your app.

3

Complete Recovery

User is redirected to your success page. You handle the password reset in your app.

Simple Integration

// Initialize account recovery
const response = await fetch('/api/v1/recovery/initiate', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    email: 'user@example.com',
    redirect_url: 'https://yourapp.com/reset-success'
  })
});

const { request_id, expires_at } = await response.json();