We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

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

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

View solution in original post

6 REPLIES 6

Dr Atul G- LNG
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?

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

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

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

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

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

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."}