- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 11:16 AM
Hello,
We have a user requesting read access to the Task table via REST API. How can this be achieved? Our task table is already flagged to true for "Allow access to this table via web services".
He also mentioned he only needs to send GET requests to pull data out of ServiceNow.
Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 11:23 AM
Hi there,
Just set up a user account, web service access only, and add a role which can read the task table.
The you could use an Endpoint like:
https://your-instance.service-now.com/api/now/table/task
You can also add parameters, to get a certain number of records, only certain fields, apply a query, etc.. Play around with this using the REST API Explorer on your instance.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 11:23 AM
Hi there,
Just set up a user account, web service access only, and add a role which can read the task table.
The you could use an Endpoint like:
https://your-instance.service-now.com/api/now/table/task
You can also add parameters, to get a certain number of records, only certain fields, apply a query, etc.. Play around with this using the REST API Explorer on your instance.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 11:25 AM
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 11:27 AM
Indeed, in combination with the image you already showed yourself: the Allow access to this table via web services.
On the user record, checkbox "Web service access only". This will prevent the user that you specifically use for the integration, to log in to the GUI.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 11:40 AM
Does this mean the user can only access ServiceNow via web services?