Twilio_Helpers::get_twilio_accounts_connected()
Get the Twilio Accounts connected using the account id and auth token.
Contents
Description Description
This functions sends an http request with Basic Authentication to Twilio API.
Return Return
(array) $twilio_accounts The twilio accounts connected.
Source Source
File: src/integrations/twilio/helpers/twilio-helpers.php
public function get_twilio_accounts_connected() { $body['action'] = 'account_info'; $twilio_account = $this->api_call( $body ); update_option( 'uap_twilio_connected_user', $twilio_account ); return $twilio_account; }
Expand full source code Collapse full source code View on Github