How to Pass the Custom Field values while creating Contacts

In Documentation create contact code, through this how can send custom field values

<?xml version='1.0' encoding='UTF-8'?> ContactService.add privateKey FirstName John LastName Doe Email

Hi @SRINI_VASU, when using the XML-RPC API you will need to reference custom fields via their “Database name”. This can be found under Admin > Settings > General > Set up custom fields for: Contact > View the field database names (for the API). You also need to prepend the database name with an underscore which indicates that it is a custom field like this: _CustomFieldName.

thanks Nicholas it’s working

Then how to pass the Phone field values