Open Vanmeeganathan opened 1 year ago
You should be able to see the ADDRESS_SID when you log in the Twilio console for the flex account >> Click on Flex >> Click on Manage >>click on on Messaging. The UI should display the current address types and SIDs. By default, it shows the SMS address. To see the chat ADDRESS _SID, click on the "Filter By Address type" dropdown and select the chat option. You should be able to see your chat ADDRESS _SID there.
Alternatively you can also use the API call below to retrieve it: https://www.twilio.com/docs/conversations/api/address-configuration-resource?code-sample=code-list-address-configurations&code-language=Node.js&code-sdk-version=4.x
Might be nice to add this to the readme
Console does not display address sid. It only display address. You need to issue the REST API command to list all addresses then find the sid corresponding to the address from the console.
This will give you a json of all the addresses configuered in Flex->manage->messaging
curl -X GET "https://conversations.twilio.com/v1/Configuration/Addresses?PageSize=20" \ -u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Find the sid corresponding to the chat address. In case of SMS, the address is the phone number.
The documentation is not clearly explaining where to get the ADDRESS_SID