POST
/
public
/
get-login-link-for-user
Get login link for user
curl --request POST \
  --url https://backend.codedamn.com/api/public/get-login-link-for-user \
  --header 'Content-Type: application/json' \
  --header 'FERMION-API-KEY: <api-key>' \
  --data '{
  "data": [
    {
      "data": {
        "userIdentifier": {
          "type": "email",
          "email": "jsmith@example.com"
        },
        "sessionValidity": "90d"
      }
    }
  ]
}'
[
  {
    "output": {
      "status": "ok",
      "data": {
        "loginUrl": "<string>"
      }
    }
  }
]

Authorizations

FERMION-API-KEY
string
header
required

Body

application/json

API Request Body

data
object[]
required

Response

200 - application/json

API Response Body

output
object
required