All Collections
Intercom App Guides
WordPress
Can I use custom User IDs when creating or updating users or leads?
Can I use custom User IDs when creating or updating users or leads?
Colin Longworth avatar
Written by Colin Longworth
Updated over a week ago

By default, the Intercom Sync plugin by Highways uses the email address of the WordPress user when creating or updating Intercom.

If you wish to change this, the plugin offers a filter in the add_user_data function.

Developer Note

The iwp_user_identifier_key and iwp_user_identifier_value filters can be used to alter the key/value pair that is sent to Intercom to identify a user.

By default, the key/value pair is:

’email’ => {user_email}

Please check the current Intercom API version in the plugin and it’s associated REST model prior to making changes. For versions 2.0 and above, there are breaking changes to the User/Lead models and the introduction of the Contact model.

Did this answer your question?