Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Examples of endpoint to test ServiceNow API access

dhug9
Kilo Contributor

Hello Community,

 

Does anyone have examples of composing a curl command and executing it on an instance that has access to
https://ourproductioninstance.service-now.com/?

I am only interested in read only endpoints and  have an API key.

My questions are -

- What credentials do I require
- what is the auth procedure
- bare bones example using curl to auth and return a simple JSON blob

 

Thanks,

Atul

1 ACCEPTED SOLUTION

Najmuddin Mohd
Mega Sage

Hi @dhug9 ,

The below youtube link may help you.
https://www.youtube.com/watch?v=q0z8sZ6l3JY&pp=ygUYc2VydmljZW5vdyBlYm9uZGluZyBkYXkx


If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

View solution in original post

1 REPLY 1

Najmuddin Mohd
Mega Sage

Hi @dhug9 ,

The below youtube link may help you.
https://www.youtube.com/watch?v=q0z8sZ6l3JY&pp=ygUYc2VydmljZW5vdyBlYm9uZGluZyBkYXkx


If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.