Answers.Body: <p>you can get both Phone and Mobile in a single API call as below </p>
  
  <pre><code>    $result = civicrm_api3('Phone', 'get', [
    'sequential' =&gt; 1,
    'contact_id' =&gt; 203,
    'phone_type_id' =&gt; ['IN' =&gt; ["Phone", "Mobile"]],
  ]);
  </code></pre>
  
  <p>I have created the test example against <a href="https://dmaster.demo.civicrm.org" rel="nofollow noreferrer">https://dmaster.demo.civicrm.org</a></p>
  
  <p>I guess this helps !!!</p>
  
  <p>Thanks </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-22T21:04:24.093Z
Answers.Text: Brill! Thank you! That works :)
Answers.UserDisplayName: Caroline B
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-21T15:52:27.370Z
Answers.LastActivityDate: 2019-11-21T15:52:27.370Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Body: <p>I am trying to work out how to call both a phone number and a mobile number using the API. I am in civicrm/api and can get one or the other but not both. Can anyone suggest a solution!?</p>
  
  <p>Thanks
  Caroline</p>
  
Tags: <contacts><api>
Title: Using CIVICRM API can I get both mobile and phone number?
ThreadText: # Using CIVICRM API can I get both mobile and phone number?
  
  (Asked by: username_0 on 2019-11-21)
  
  I am trying to work out how to call both a phone number and a mobile number using the API. I am in civicrm/api and can get one or the other but not both. Can anyone suggest a solution!?
  
  Thanks
  username_0
  
  **Tags:** contacts, api
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-11-21. Score: 2 | Accepted answer
  
  you can get both Phone and Mobile in a single API call as below
  
  ```
      $result = civicrm_api3('Phone', 'get', [
    'sequential' => 1,
    'contact_id' => 203,
    'phone_type_id' => ['IN' => ["Phone", "Mobile"]],
  ]);
  
  ```
  
  I have created the test example against <https://dmaster.demo.civicrm.org>
  
  I guess this helps !!!
  
  Thanks
  
  > **Comments:**
  > **username_0**: Brill! Thank you! That works :)  
  
  ---
  
  