Retrieving sub-account phone numbers once connected through connect api
We are building an integration with our app that will require us to update each customer's individual Twilio account's phone number to use our webhook url. Following a similar concept of Stripe's connect api, we planned on having each customer "connect" their account to our master account so we can use their accountSID to fetch their phone numbers and update the selected one with our webhook url.
The problem we are facing is once an account is connected through the REST Api and added to our master account as a sub-account - we don't have access to their phone numbers. It appears through the docs that we need to port their number over to their sub-account. If this is true then it would defeat the purpose of the connect flow since we would need their accessToken to even query their numbers to be ported over.
Maybe we are missing something or thinking about the connect api concept wrong but any help on direction would be appreciated. Our backup solution is just to request the customer's accountSID and accessToken and just use the REST Api on their behalf directly instead of going through the connect api.
- 42 All Categories
- 184 Product Discussions
- 9 Community - Announcements
- 2 Changelog
- 4 Forum UI Updates
- 5 Welcome Guide
- 4 Community - Events
- 1 External Community Events
- 2 Twilio Relay Developer Conference 2021 Mega Thread
- 1 TwilioQuest Contest!
- 20 Inspiration
- 4 Community - Other Discussions
- Community- Twilio Startups