Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

Sends email confirmation instructions to the user’s registered email address. This is useful for users who haven’t confirmed their email or need to re-confirm it.

Endpoint

POST /api/v1/users/confirm

Request Body

user.email
string
required
The email address associated with the user account.
curl -X POST https://api.onlydrams.app/api/v1/users/confirm \
  -H "Content-Type: application/json" \
  -d '{
    "user": {
      "email": "user@example.com"
    }
  }'
{
  "message": "An email has been sent to user@example.com."
}
{
  "message": "An email has been sent to user@example.com."
}

Notes

  • The response is the same whether the email exists or not (security best practice)
  • If the email exists and is unconfirmed, confirmation instructions will be sent
  • If the email doesn’t exist or is already confirmed, no email will be sent but the same response is returned
  • Rate limiting may apply to prevent abuse