Prompt

How do I send password reset emails from a backend app using an email API?

Technology / API Platforms5 observationsLast seen Sep 22, 2026

Latest observation

Sep 22, 2026MistralWeb search: on

To send password reset emails from a backend app using an email API, follow this standard flow:

  1. Generate a Secure Token: Create a random, unique token (e.g., using a UUID or crypto library) and store a hashed version of it in your database, along with an expiration time (typically 15–60 minutes).
  2. Construct the Reset Link: Build a URL (e.g., https://yourapp.com/reset-password?token=UNIQUE_TOKEN) that includes the token and points to your password reset page.
  3. Send the Email: Use an email API (like Notify, Mailgun, or SendGrid) to send an email to the user with the reset link. The API call is a simple HTTP POST request with the recipient’s email, subject, and the reset link in the body. Never include the actual password or token in plaintext in the email—only the link.
  4. Handle the Reset: When the user clicks the link, your backend verifies the token (checks if it exists, is unexpired, and matches the stored hash). If valid, allow the user to set a new password.
  5. Optional: Webhooks for Bounces: Register a webhook with your email API (e.g., Notify) to automatically receive notifications for bounced or failed emails, so your app can log or act on delivery issues.

Example API Call (Notify):

curl -X POST https://notify.cx/api/email/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "user@example.com",
    "from": "noreply@yourapp.com",
    "subject": "Password Reset Request",
    "body": "Click here to reset your password: https://yourapp.com/reset-password?token=UNIQUE_TOKEN"
  }'

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (5 observations for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.