Skip to main content
Answered

I am trying to integrate contcats api in our website.For that we are using the api provided by intercom.But for fetching auth token there is param named "Code" which is missing even we are not able to find it's definition or identity what it is.


Api -https://api.intercom.io/auth/eagle/token

 

Params-

{

"code":"",

"client_id": "d0d273fc-d43c-4c2f-b4c9-1e22e43bcb01",

"client_secret":(VALUE HIDDEN)

}

in this api "code" what we need to pass in this param,

Best answer by Roy

Hi @tanay s​ 👋 , Hope you are doing well. Just to clarify if you want to use contacts API, all you need is "Authorization:Bearer <Your access token>".

"Api -https://api.intercom.io/auth/eagle/tokenquot; This for developing Intercom apps.

 

Intercom contact API documentation is here;

How to get an authorization token code for developing an app is here;

 

Hope this will be helpful.

View original
Did this topic help you find an answer to your question?

4 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • December 3, 2020

Hey @tanay s​, I've just edited your post to remove your secret key. Please don't share this in a public forum as it could allow someone to compromise your app!


  • Author
  • New Participant
  • 2 replies
  • December 3, 2020

Thanks @eric f11​ .I will take care of this further.


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • December 3, 2020

Hi @tanay s​ 👋 , Hope you are doing well. Just to clarify if you want to use contacts API, all you need is "Authorization:Bearer <Your access token>".

"Api -https://api.intercom.io/auth/eagle/tokenquot; This for developing Intercom apps.

 

Intercom contact API documentation is here;

How to get an authorization token code for developing an app is here;

 

Hope this will be helpful.


  • Author
  • New Participant
  • 2 replies
  • December 4, 2020

Thanks @roy s11​ for your reply.But i am trying to get contacts data by auth token way for getting public and other cutsomers data as well.For that purpose i need to get auth token first by using mentioned api.But in that api "Code" parameter is unknown for me.Can you help me in that?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings