Generate a temporary token for use in a Twilio client-side SDK application
Head over to the twilio-cli documentation.
$ twilio plugins:install @twilio-labs/plugin-token
$ twilio --help token
USAGE
$ twilio token
...USAGE
$ twilio token:chat
OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your Twilio profile.
--chat-service-sid=chat-service-sid (required) The service SID for the Chat, starts with ISXXX
--identity=identity (required) The user identity for this Chat
See code: src/commands/token/chat.js
This project welcomes contributions from the community. Please see the CONTRIBUTING.md file for more details.
Please be aware that this project has a Code of Conduct. The tldr; is to just be excellent to each other ❤️
MIT