signalwire-community / signalwire-php

PHP Library for SignalWire APIs
https://signalwire-community.github.io/docs/php/
MIT License
22 stars 26 forks source link

HTTP 404: Can we create sub-account like twilio in SW? #108

Closed mynamavi closed 4 years ago

mynamavi commented 4 years ago

Hi, I'm trying to create subaccount like twilio provides. this curl url i'm calling Postman example: http://.signalwire.com/api/laml/2010-04-01/Accounts/Accounts.json?FriendlyName=SW-234 in post method but its giving 404. php function : $sub_account = $sw->api->v2010->accounts->create(array("friendlyName" => $friendlyName));

I'm not getting this question answer, sub-account concept is present or not in Signalwire? Please help me, thanks!

bryanrite commented 4 years ago

Hi @mynamavi, SignalWire doesn't yet support Twilio's Subaccounts API. We do have a similar concept of "Projects" for separating usage and clients, but these have to be created via your Dashboard, not via the API.

Please feel free to get help on the SignalWire Slack Community: https://signalwire.community/

There are lots of community members and SignalWire support staff that can help out with questions, and may have helpful suggestions on alternatives to Subaccounts.

Thanks!

mynamavi commented 4 years ago

@bryanrite Thanks