Skip to main content
POST
/
jobs
/
verification-email
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.jobs.verificationEmail.create({
        userId: "user_id",
    });
}
main();
{
  "status": "completed",
  "type": "verification_email",
  "id": "job_0000000000000001",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

user_id
string<user-id>
default:google-oauth2|1234
required

user_id of the user to send the verification email to.

client_id
string<client-id>

client_id of the client (application). If no value provided, the global Client ID will be used.

identity
object

This must be provided to verify primary social, enterprise and passwordless email identities. Also, is needed to verify secondary identities.

organization_id
string<organization-id>
default:org_2eondWoxcMIpaLQc

(Optional) Organization ID – the ID of the Organization. If provided, organization parameters will be made available to the email template and organization branding will be applied to the prompt. In addition, the redirect link in the prompt will include organization_id and organization_name query string parameters.

Response

Job successfully created.

status
string
default:completed
required

Status of this job.

type
string
default:verification_email
required

Type of job this is.

id
string
default:job_0000000000000001
required

ID of this job.

created_at
string

When this job was created.