The CreatorCon Call for Content is officially open! Get started here.

REST API user roles

Panagiotis Kons
Tera Expert

Hello,

 

I have created a new user in order to access the table API using REST calls. However I am not able to get any results, I can authenticate properly but the results returned are always empty (no results). If I add the user to group "Administrator" then everything is working fine, I can load the results with no problem. However this seems a bit too much. What are the roles/groups I need to assign to the user in order to be able to properly access the REST API?

 

I have Currently given the user the following roles:

 

rest_api_explorer

rest_service

web_service_admin

 

What else do I need to add?

 

Regards

 

Panos

1 ACCEPTED SOLUTION

Hi @Panagiotis Kons 

 

Might be helpful

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0596738

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

9 REPLIES 9

For inbound integrations the solution is the following:

For users to access Table API in ServiceNow, they must have the "snc_platform_rest_api_access" role.

 

Source: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0822211

FYI: I do not have access to view that KB article.  Is there one open to all of us?

When I try to view that article I get a response saying "Your role does not grant you access to this article. Please use Search to find related content.".    Can you post the pertinent content here?

 

Do you have 

Its_Azar
Tera Guru
Tera Guru

Hi there @Panagiotis Kons 

facing similar issue how did you get it resolved.

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.




Kind Regards,

Mohamed Azarudeen Z

Developer @ KPMG

 Microsoft MVP (AI Services), India

richaaggarw
Mega Contributor

Here is the content of the KB Article 

richaaggarw_0-1758270599967.png