/rc-otp-demo

Primary LanguageTypeScript

RingCentral OTP Demo

Setup

Rename .env.sample to .env. Edit .env file to specify credentials.

yarn install

Run

yarn init-otp

Check email and find the OTP code.

Edit ./src/get-token.ts file to specify the OTP code.

yarn token-token

Check console output for the token.

API call details

Check console output for details about HTTP requests/responses.