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.

Outbound REST Integration with API Key

SNewbies
Tera Contributor

Hello!

I am trying to integrate third party app with ServiceNow. I want to pull the data from third party app into ServiceNow.

I have API key for authentication. I could not find API key option on REST Outbound messages. Can anyone please explain how can I do it? Any step by step tutorial?

I am very new to integrations.

Thank you

1 ACCEPTED SOLUTION

Hi @SNewbies 

 

https://www.servicenow.com/community/now-platform-forum/configuring-an-api-key-for-an-outbound-rest-...

 

AGLearnNGrow_0-1711963640660.png

 

https://www.servicenow.com/community/developer-forum/how-to-use-api-key-for-outbound-rest-message/m-...

*************************************************************************************************************
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

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @SNewbies 

 

So you want to pull data from 3rd party to ServiceNow and you are using the REST API. 

 

Could you please share some screenshot where you stuck?

*************************************************************************************************************
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]

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

I have API Key credentials for Authentication.

In REST messages, there is no option for API Key authentication.

 

Hi @SNewbies 

 

https://www.servicenow.com/community/now-platform-forum/configuring-an-api-key-for-an-outbound-rest-...

 

AGLearnNGrow_0-1711963640660.png

 

https://www.servicenow.com/community/developer-forum/how-to-use-api-key-for-outbound-rest-message/m-...

*************************************************************************************************************
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]

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

When I try the above method, I get 401 error.

{"code": "not_authenticated", "message": "Authentication credentials were not provided.", "support_code": "bea84f267abce814452ed43e42c78908", "detail": "Authentication credentials were not provided."}