getPhoneNumber()
Retrieves a single PhoneNumber.
function getPhoneNumber(phoneNumberId: string): Promise<PhoneNumber>- Name
phoneNumberId- Type
string- Description
The ID of the phone number to retrieve.
const phoneNumberId = 'idn_123'
const response = await clerkClient.phoneNumbers.getPhoneNumber(phoneNumberId)Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint GET/phone_numbers/{phone_number_id}. See the BAPI reference for more information.
Feedback
Last updated on