
User1697960304343261433 (Customer) asked a question.
When I am using okta api to create user through postman user is creating but I am not getting any mail for activating my account.
API used : {{url}}/api/v1/users?activate=true&sendEmail=true
I have tried multiple options as below but non of them are working.
Create user with password : {{url}}/api/v1/users?activate=false
Activate user : {{url}}/api/v1/users/{{userid}}/lifecycle/activate&sendEmail=true
Can you please help me out for this requirement.

Check your Okta logs as it may tell you if the email was sent. Use the following expression to search your logs after replacing "somevalue@yourdomain.whatever" with a valid email address.
target.id eq "somevalue@yourdomain.whatever" and eventType eq "system.email.delivery"
It is possible that the API call will not log an event but it is worth a try. If it does, you should be able to tell if the emails are being bounced/blocked or were sent successfully. If sent successfully you should check junk/spam folders in your email or check with your mail provider to see if they are blocking or delaying delivery.