Getting started with API

thedavegray
Giga Expert

Hi all, 

Have a few questions on getting started with the SN API and I wondered if this is the best place to ask? 

I basically need to pull incidents and related data on a regular basis using C# but initially I would test with Postman. 

 

Looking for details on what authentication is available and how I would set this up in our DEV instance and possibly some code examples. 

 

I have found the pages detailing all the endpoints but not seeing how the authentication works. - maybe missing the obvious.  

 

Thanks 

 

 

 

1 ACCEPTED SOLUTION

Laszlo Balla
Mega Sage
Mega Sage

You need to create your own user account, which should be a a "web service only" user. You can then pass the credentials of this user in the inbound API call.

There is a great course on inbound integrations which should be very helpful to you, head over here.

It has a section on security, and another one on the REST API Exploer, which is a very useful tool in ServiceNow to test and model how certain APIs work, such as the Table API which you are probably looking to use here.

View solution in original post

2 REPLIES 2

Laszlo Balla
Mega Sage
Mega Sage

You need to create your own user account, which should be a a "web service only" user. You can then pass the credentials of this user in the inbound API call.

There is a great course on inbound integrations which should be very helpful to you, head over here.

It has a section on security, and another one on the REST API Exploer, which is a very useful tool in ServiceNow to test and model how certain APIs work, such as the Table API which you are probably looking to use here.

Thanks @Laszlo Balla for the response and the links, they look like good learning resources. 

Regards