Skip to content

`POST /v1/auth/magic-link`.

POST
/v1/auth/magic-link
curl --request POST \
--url https://api.updawg.net/v1/auth/magic-link \
--header 'Content-Type: application/json' \
--data '{ "email": "example" }'
Media typeapplication/json
object
email
required
string
Examplegenerated
{
"email": "example"
}

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"
}