POST
/
me
/
auth
/
magic
cURL
curl --request POST \
  --url https://api.rownd.io/me/auth/magic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "redirect_url": "<string>"
}'
{
  "link": "https://rownd.link/c8fLG0a",
  "app_user_id": "user_fmpsrdqfcqzyicf3msor42e8"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token> where <token> is the user's Rownd JWT

Body

application/json
redirect_url
string

Response

200 - application/json

Magic link created successfully.

The magic link URL

Example:

"https://rownd.link/c8fLG0a"

app_user_id
string

The user ID specified during creation or the resolved user ID if one of the directives was specified (e.g. '__default__')

Example:

"user_fmpsrdqfcqzyicf3msor42e8"