How to setup API key based authentication for inbound REST API in Flow Designer?

pascalfrencken
Mega Sage

We're setting up a webhook-based integration with a third party using the Asynchronous REST API trigger in Flow Designer. It's an inbound integration where the third party will trigger the webhook in our ServiceNow instance, and we process the payload to update records in our instance.

The third party only supports API key based authentication, so we need to setup an API key in our instance and only allow the webhook to be triggered if the right API key is passed. I couldn't find any examples on how to set this up, or whether this is even possible. Does anyone know if this type of authentication is possible with inbound REST API calls, and how to set this up?

Best regards,

Pascal Frencken

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi,

Please have a look on https://docs.servicenow.com/bundle/rome-platform-administration/page/integrate/authentication/task/c...

It seems that also ID Token are allowed for Inbound API calls, but I never used that before.

Kind regards
Maik

View solution in original post

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi,

Please have a look on https://docs.servicenow.com/bundle/rome-platform-administration/page/integrate/authentication/task/c...

It seems that also ID Token are allowed for Inbound API calls, but I never used that before.

Kind regards
Maik

Thanks Maik. We already managed to setup authentication via OAuth, our third party will accommodate that.

Best regards,

Pascal Frencken

We are trying the same thing, using rest api trigger and oauth.  Can you elaborate on how you did this?

Thanks!