I am using the Ruby API and the following code gets an error:
" (Custom attribute 'kamil_attribute_console' does not exist)"
user_id = 1
intercom_query = intercom.contacts.search('query': {'field': 'external_id', 'operator': '=', 'value': "#{user_id}"})
contact = intercom_query.first
contact.custom_attributes = {"kamil_attribute" => "here-iam-update-me"}
intercom.contacts.save(contact)