Skip to content

RegisterOptions

Defined in: src/types/phone-numbers.ts:43

Options for registering a phone number with the Cloud API.

optional dataLocalizationRegion?: string

Defined in: src/types/phone-numbers.ts:47

Optional data-localization region (two-letter country code).


pin: string

Defined in: src/types/phone-numbers.ts:45

The six-digit two-step verification PIN for the number.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.