Obtain account sid and auth token from the console. Create the twillio-config.json
. Register a number.
Sample twillio-config.json:
{
"accountSid": "AC...",
"authToken": "..."
}
These values can be overridden with environment variables TWILLIO_ACCOUNTSID
and TWILLIO_AUTHTOKEN
.
The account sid and auth token can then be used to generate client side API keys.
node purchaseNumber.js 480
node deleteNumber.js PN3eae101fea7fc4daee631ddada4ea35b