Configure Intercom API in PHp and Create New User in It

Intercom api can be authenticate via two method one is OAuth method and other is basic authentication method.

OAuth Method:

For OAuth flow can be initiate through thia call url with the following parameters.

– Client_id (Required) // Get client id from you intercom account credentials
– state (Not required but recommended)
– redirect_uri (Not required)

Basic Authorization Method:

This is the quite simple and easiest way to do intercom authentication. Get the App Id and APi Key from intercom account. See the below image to get API keys info.

inetrcom api key

Create New User in Intercom via Basic Authentication Method:

Using this method you can create, delete and update the user. check below code for that:

Hope above description will help you to configure Intercom api and use provided method as per your requirements.

Leave a Comment