`POST /v1/auth/magic-link`.
POST
/v1/auth/magic-link
const url = 'https://api.updawg.net/v1/auth/magic-link';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.updawg.net/v1/auth/magic-link \ --header 'Content-Type: application/json' \ --data '{ "email": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string
Examplegenerated
{ "email": "example"}Responses
Section titled “Responses”Accepted. ⚠️ The same answer whether or not the address belongs to anybody — the endpoint must not be usable to ask whether somebody has an account. 202, not 204: the mail is sent after the answer, and a client that waits for delivery will wait for ever.
Not an address.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Too many links asked for this address, or from this source. The same for every address, so it says nothing about who has an account.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}