Auth0 Home Blog Docs

Resend verification email Issue

Hi,

When I try to resend the verification email using ’ /api/v2/jobs/verification-email’ I’m getting ```
{
“statusCode”: 401,
“error”: “Unauthorized”,
“message”: “Missing authentication”
}


My curl is ```curl -X POST  -H "Content-Type: application/json" -d '{"user_id":"auth0|5dde1d0a0364600d2e2b9d48","client_id":"jaxCtrK7p8RjJc9CZmEGCnV10yeBze7x"}' https://narasimmanp-dcis.auth0.com/api/v2/jobs/verification-email```

Hi @Narasimman.P and welcome to the Auth0 Community!

If you’re trying to test this curl command within the Management API you’ll need to first set the API Token in the upper left to enable this request. Here’s some documentation on getting a test token to demo those endpoints.

However if this is part of a larger project and you need access tokens for production then let me give you some information to that effect as well.

I hope this helps get your solution up and running!

Best Regards,
Colin

Hi @colin.coutts,

Great!!! Thanks for the detailed response.

1 Like

Glad you have it working now @Narasimman.P!