twilio / twilio-webchat-react-app

Twilio Webchat React App is an application that demonstrates a website chat widget built with Twilio's Conversations JS SDK, Twilio Paste Design library and Create React App.
MIT License
63 stars 70 forks source link

Difficulty finding ADDRESS_SID starting with IG #34

Open Vanmeeganathan opened 1 year ago

Vanmeeganathan commented 1 year ago

The documentation is not clearly explaining where to get the ADDRESS_SID

faroucksc commented 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.

image

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

ChuckJonas commented 1 year ago

Might be nice to add this to the readme

yvonnel098 commented 7 months ago

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.