How to add custom field while creating contact through "contact_add" webhook?

Hello,

I have prepared a code using this example: API Examples Using contact_add

Everything is working perfectly except - custom fields. Can you please help me out how to send values of the custom field as well. Currently, I have passed the custom field as:

$post = array(
‘email’ => $eMails,
‘field[4437,0]’ => ‘test_custom_field’,
)

Any help will be appreciated. Also, please share which ID to be considered as a custom field ID.