Which access/role we need to connect Service Now API?

Balakrishnan N
Kilo Contributor

Hi Team,

what kind of access/role we need to connect ServiceNow api. for example, to use the below url which kind of access/role we need to get.

GET https://instance.service-now.com/api/now/v1/table/incident

PUT https://instance.service-now.com/api/now/v1/table/incident/{sys_id}?

 

Here I need to have an access/role for both the operation ie., GET and PUT.

Regards,

Bala N

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

reason : you are using get method , it means all the records you can fetch, minimum ITIL role required to fetch the details. same for put method, minimum itil role required to update any incident record. 

so in-short itil role is enough. 

View solution in original post

30 REPLIES 30

Hi Harshvardhan,

I mentioned my username and password which I used to login GUI Service Now that I can successfully logged in the same I'm tring to use in rest api and I couldn't get the data which shows Users not authenticated.

Please refer the below screenshot, here I stroke out the ServiceNow instance due to security reason.

Please help me to get out this issue.

Regards,

Bala N

Hi,

YOu want to access incident table API or the module?

Thanks,
Ashutosh

Yes.

Regrds,

Bala N

What? Incident table API?