Resend Verification Email after registration

I need to show a screen after a user has registered with a button that gives them the option to resend the account verification email if they never received it. ( see attached )

I have tried using the post_verifcation_email endpoint however im getting the following error

{
“statusCode”: 401,
“error”: “Unauthorized”,
“message”: “Missing authentication”
}

What is the best way to go about this?

Hi @anthony2,

It looks like you are missing authentication. Are you sending this request with a token intended for the management api? How are you sending the request, from a backend? Can you show up the code you are using?

Thanks,
Dan