Verify Email flow for users created by api

Hi. We currently creating users in keycloak by rest api. How can we send email for email verification to these users ? On this site [KEYCLOAK-17925] User creation via REST API does not trigger sending of verification email - Red Hat Issue Tracker i read that verification email is sended when the users crated by the api try to login. But when i call endpoint to get token for a users created by the api no email is sended.