Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Resend passwordless code

POST/{apiBasePath}/{tenantId}/signinup/code/resend
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
tenantIdstring
The tenant against which the request is made. If left empty, the default tenant will be used.
Header parameters
ridstring
The passwordless recipe ID
Request body
application/json
deviceIddeviceIdrequired
This should be saved on the starting device to enable the manual code entry flow.
preAuthSessionIdpreAuthSessionIdrequired
An identifier that used to identify the login attempt/device.
shouldTryLinkingWithSessionUserboolean
Responses
200Started the passwordless sign in/up process.
One of:
object
statusstring
Allowed:OKRESTART_FLOW_ERROR
generalErrorResponse
statusstring
Error status code
Allowed:GENERAL_ERROR
messagestring
Error message
404Resource not found error
string
500Internal server error
string
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/auth/public/signinup/code/resend" \
  -H "Content-Type: application/json" \
  -d '{
  "deviceId": "TU/52WOcktSv99zqaAZuWJG9BSoS0aRLfCbep8rFEwk=",
  "preAuthSessionId": "kFmkPQEAJtACiT2w/K8fndEuNm+XozJXSZSlWEr+iGs=",
  "shouldTryLinkingWithSessionUser": false
}'
Response
{
  "status": "OK"
}

API reference

API schema and response details