File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,22 @@ The metadata key values in the example are treated as follows-
298298- order_number: a Rich Link (value contains 'url' and 'value' keys)
299299- price: An Amount in US Dollars (value contains 'amount' and 'currency' keys)
300300
301+ ### Contacts
302+
303+ ` Contacts ` represent logged out users of your application.
304+
305+ ``` ruby
306+ # Create a contact
307+ contact = Intercom ::Contact .create(email: " some_contact@example.com" )
308+
309+ # Update a contact
310+ contact.custom_attributes[' foo' ] = ' bar'
311+ contact.save
312+
313+ # Find contacts by email
314+ contacts = Intercom ::Contact .find_all(email: " some_contact@example.com" )
315+ ```
316+
301317### Subscriptions
302318
303319Subscribe to events in Intercom to receive webhooks.
You can’t perform that action at this time.
0 commit comments