Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to


Sends an SMS message to a phone number ID belonging to another user:

const phoneNumberId = 'recipient-phone-number-id'; const message = 'All glory to the Hypnotoad!'; const smsMessage = await clerkClient.smsMessages.createSMSMessage({ message, phoneNumberId });

Required parameters

phoneNumberIdstringThe ID of the phone number to send the message to.
messagestringThe message to send.

What did you think of this content?

Clerk © 2023