config = $config ?: new Configuration(); } /** * Get user info * Return the information about the API-connected user. */ public function info($body = []) { return $this->config->post('/users/info', $body); } /** * Ping * Validate an API key and respond to a ping. */ public function ping($body = []) { return $this->config->post('/users/ping', $body); } /** * Ping 2 * Validate an API key and respond to a ping (JSON parser version). */ public function ping2($body = []) { return $this->config->post('/users/ping2', $body); } /** * List account senders * Return the senders that have tried to use this account, both verified and unverified. */ public function senders($body = []) { return $this->config->post('/users/senders', $body); } }