Answered

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

  • 2 November 2020
  • 8 replies
  • 37 views

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.

icon

Best answer by Roy 2 November 2020, 00:36

View original

8 replies

Userlevel 1
Badge

Hello @user410​ ,

 

Are you using the correct User ID? 

 

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

correcturl

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

Userlevel 1
Badge

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

 

This is the current subscription we have

Userlevel 1
Badge

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

The best way here to contact Intercom support.

@roy s11​ 

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

What plan specifically do I need instead?

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

Userlevel 1
Badge

@user410​ , Always happy to help 😊

Reply