Answers.Body: <p>good to hear you had some success! I would expect the api explorer to show you the custom fields for contact? You can use the custom fields with the api if you know the id of  the custom field. So for custom field with id 5 the parameter for the API would be:</p>
  
  <pre><code> custom_5 =&gt; &lt;your value&gt;
  </code></pre>
  
  <p>So an example would be:</p>
  
  <pre><code>$result = civicrm_api3('Contact', 'create', [
    'custom_11' =&gt; "blablabla",
  ])
  </code></pre>
  
  <p>;</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-12T14:53:14.983Z
Answers.LastActivityDate: 2019-06-12T17:25:51.393Z
Answers.LastEditDate: 2019-06-12T17:25:51.393Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>I successfully used civicrm to create a contact but I want to send a custom field value through api to be saved on the created contact but can't find a way to do can you advise, when I search in support -> developer -> api explorer only found "CustomField" but can't use it to set custom field value on a specific contact.</p>
  
Tags: <contacts><custom-fields>
Title: API contact custom field
ThreadText: # API contact custom field
  
  (Asked by: username_0 on 2019-06-12)
  
  I successfully used civicrm to create a contact but I want to send a custom field value through api to be saved on the created contact but can't find a way to do can you advise, when I search in support -> developer -> api explorer only found "CustomField" but can't use it to set custom field value on a specific contact.
  
  **Tags:** contacts, custom-fields
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-06-12. Score: 1
  
  good to hear you had some success! I would expect the api explorer to show you the custom fields for contact? You can use the custom fields with the api if you know the id of  the custom field. So for custom field with id 5 the parameter for the API would be:
   custom_5 => 
  
  So an example would be:
  $result = civicrm_api3('Contact', 'create', [
    'custom_11' => "blablabla",
  ])
  
  ;
  
  
  ---
  
  