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.

How to use API Key for Outbound REST message ?

Dina Shoukry
Tera Contributor

I'm using one Outbound REST message. I want to use API Key from Connections & Credentials module as an Authentication type for my REST message. I have API Key in handy. Is it achievable ? I don't want to use basic or oauth authentication type.

1 ACCEPTED SOLUTION

suvro
Mega Sage

In the Header Add

Authorization: Bearer <your API Key>

View solution in original post

2 REPLIES 2

suvro
Mega Sage

In the Header Add

Authorization: Bearer <your API Key>

Unfortunately, it's not working for me 😞

I tried also

Authorization: Basic <API Key>

 

I'm trying this in the HTTP Headers of the rest message