TrackMe API Docs

Begin a password reset (sends a code to the destination).

Attempts OTP delivery for known AND unknown email or E.164 phone destinations to avoid revealing account existence through provider failures. Unknown destinations may receive a code but no account is created; completion requires an existing account. Returns 409 delivery errors instead of silent success. Defaults to email for email addresses, SMS then WhatsApp for phones; explicit channel disables fallback. International destinations require gateway account and sender approval. All attempts count toward 5 per destination per 15 minutes; the sixth returns 429 with retryAfterSeconds. Provider acceptance is not a delivery receipt.

POST
/api/v1/auth/password/reset/start

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/auth/password/reset/start" \  -H "Content-Type: application/json" \  -d '{    "destination": "[email protected]"  }'
{  "data": {    "message": "Password reset email dispatched."  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "OTP_DELIVERY_FAILED",    "message": "Verification code could not be sent. Please try again later."  },  "meta": {    "requestId": "example-request-id"  }}
{  "error": {    "code": "VALIDATION_ERROR",    "message": "One or more fields are invalid.",    "fields": [      {        "path": "email",        "rule": "email",        "message": "Must be a valid email address."      }    ]  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "RATE_LIMITED",    "message": "Too many requests — slow down and retry after the indicated delay.",    "retryAfterSeconds": 60  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}