Skip to main content
POST
/
auth
/
signin
cURL
curl --request POST \
  --url https://api.youappz.dev/auth/signin \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "tokenName": "<string>"
}
'
{
  "token": "<string>",
  "securityCode": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

The user email.

tokenName
string

The desired name for the token. It will be displayed on the user account details.

Response

The request was successful and an email was sent

token
string
required

The token used to verify the user accepted the login request.

securityCode
string
required

The code the user is going to receive on the email. Must be displayed to the user so they can verify the request is the correct.