Skip to main content
function useLinkSms(): {
  linkSms: (phoneNumber: string, options?: {
     idempotencyKey?: string;
   }) => Promise<{
     flowId: string;
     message: string;
  }>;
};
A hook for linking a SMS account to the current user.

Returns

An object containing the linkSms function.
NameType
linkSms()(phoneNumber: string, options?: { idempotencyKey?: string; }) => Promise<{ flowId: string; message: string; }>