Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add support for subaccounts #65

Open
shatanikmahanty opened this issue Jan 31, 2025 · 0 comments
Open

Feat: Add support for subaccounts #65

shatanikmahanty opened this issue Jan 31, 2025 · 0 comments

Comments

@shatanikmahanty
Copy link

Sub accounts documentationL

https://www.twilio.com/docs/iam/api/subaccounts

Example curl looks like this

curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_SUBACCOUNT_SID/Messages.json" \
--data-urlencode "To=+16518675310" \
--data-urlencode "From=+14158141829" \
--data-urlencode "Body=Ahoy there$EXCLAMATION_MARK" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

In my initial analysis of the flutter library we just need to modify the behavior of passing account sid to the URL property of sid, so that we can take in subaccount sid if provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant