Auto-Login
Generates a short-lived authentication token for an existing customer account, identified by their email address.
Use case: Pass the returned token as a query parameter in the auto-login redirect URL to log the customer into their account without requiring a password. This is intended for partner-initiated flows — for example, redirecting a customer from your platform directly into their Namify control panel.
Token expiry: Tokens are valid for a short window. Redirect the customer immediately after calling this endpoint — do not store or reuse the token.
Customer requirement: The email must match an account previously created via POST /api/v1/customers/signup. Submitting an unregistered email returns a 422 error.
https://[your-subdomain].namify.tech/auto-login?token=[token]
Authorizations
A personal access token. Obtain one from the dashboard under Settings > API Key. Include it in the Authorization header as Bearer <token>. Unauthenticated requests to protected routes return 401 Unauthorized.
Body
Email address of the customer to generate a token for. Must match an existing customer account created via POST /api/v1/customers/signup.
"john.doe@example.com"
Response
Token generated successfully. Use the returned token in the auto-login redirect URL immediately — it expires shortly after issuance.
"SUCCESS"
The customer email address the token was issued for.
"john.doe@example.com"
Authentication token to be passed as a query parameter in the auto-login redirect URL. Valid for a short window — redirect the customer immediately.
"214844e15411d2f6e72b274ca199760656218b57e5329243ce23e6ad7c2e1c97"
UTC datetime when the token expires, formatted as YYYY-MM-DD HH:MM:SS. The customer must be redirected before this time.
"2026-04-24 09:48:34"