<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009tzMlvCAEOkta Classic EngineAPI Access ManagementAnswered2024-04-03T16:09:08.000Z2023-12-12T07:25:52.000Z2023-12-13T18:03:16.000Z
Okta activation mail

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.


  • MatthewH.10249 (State of Iowa)

    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.

    Expand Post
    Selected as Best
  • MatthewH.10249 (State of Iowa)

    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.

    Expand Post
    Selected as Best
This question is closed.
Loading
Okta activation mail