getEmailAddress()
Retrieves a single EmailAddress.
EmailAddress
function getEmailAddress(emailAddressId: string): Promise<EmailAddress>
emailAddressId
string
The ID of the email address to retrieve.
const emailAddressId = 'idn_2V7JJ2R3O7KWHjCmUuEOJESHlPz' const response = await clerkClient.emailAddresses.getEmailAddress(emailAddressId) console.log(response) /* _EmailAddress { id: 'idn_123', emailAddress: 'alexis@clerk.dev', verification: _Verification { status: 'verified', strategy: 'from_oauth_google', externalVerificationRedirectURL: null, attempts: null, expireAt: null, nonce: null }, linkedTo: [ _IdentificationLink { id: 'idn_123', type: 'oauth_google' } ] } */
This method in the SDK is a wrapper around the BAPI endpoint GET/email_addresses/{email_address_id}. See the BAPI reference for more information.
GET/email_addresses/{email_address_id}
Last updated on Jan 21, 2025