Create a record by password

POST /api/verifications/password

Create a verification record by verifying the password.

application/json

Body Required

  • password string Required

    The password of the user.

    Minimum length is 1.

Responses

POST /api/verifications/password
curl \
 -X POST https://[tenant_id].logto.app/api/verifications/password \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"password":"string"}'
Request examples
{
  "password": "string"
}
Response examples (201)
{
  "verificationRecordId": "string",
  "expiresAt": "string"
}