TTRGroup / pipedrive-api-php

PHP API client library for the PipeDrive CRM
MIT License
28 stars 44 forks source link

Get users by email #27

Open rhurtik opened 7 years ago

rhurtik commented 7 years ago

Can be done by adding the bellow method to Persons.php

    public function getByEmail($email)
    {
         return $this->curl->get('persons/find',array('term'=>$email, 'search_by_email'=>true));
    }