Skip to main content
Answered

User with full access is not being returned when getting Admins/Contacts using the API


I have created a user and given them full access. However, when I query the API for their user/admin ID, they don't exist.

I'm trying to use their ID's for use in the 'Create a Message' model.

Best answer by Roy

Hello @user410​ ,

 

Are you using the correct User ID? 

 

Please, open the user profile and copy ID from the URL and try.

correcturl

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

8 replies

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

Hello @user410​ ,

 

Are you using the correct User ID? 

 

Please, open the user profile and copy ID from the URL and try.

correcturl


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

Ah okay, that is a much easier way of finding the Admin/User ID. I read through the documentation quite a bit but didn't see that written anywhere - maybe I missed it.

 

Now that I've got the ID's I need, I'm attempting to run the create-message function:

curl https://api.intercom.io/messages/p>

-X POST \

 

However im receiving this error:

{"type":"error.list","request_id":"0000tr9m72i9dd6dugq0","errors":[{"code":"api_plan_restricted","message":"Active subscription needed."}]}%

 

Any idea what's going on here?

 

thanks


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • November 2, 2020

@user410​ , Are you using the Intercom on a free plan? Do you have any active subscription? 

 


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

This is the current subscription we have


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • November 2, 2020

@user410​ , An error that you are getting, means your current plat doesn't support API. 

The best way here to contact Intercom support.


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

@roy s11​ 

I see. I am able to use the API for contact/admin searches though.

What plan specifically do I need instead?


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

I've since learned that my application was attached our 'test' workspace. Thanks for your help @roy s11​ 


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

@user410​ , Always happy to help 😊


Reply


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