Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Is it possible to trigger a webhook when a developer creates an App / API Key in the portal?

We would like to tie in API Product access to our Service Now Backend. When a registered developer attempts to create an App and register an API Product we would like to trigger a web hook to submit a call to Service Now which will kickoff a workflow and approval process. This will in turn make a call out to a custom manager app using the Apigee Mgmt API to approve the access. We have yet to see how this is possible in the standard Developer Portal, but hoping that we're just missing something. Any help would be appreciated.

1 3 239
3 REPLIES 3

Marsh
Former Googler

There isn't a webhook today, but this is something we're considering for the future. In the shorter term, we plan to introduce email-facilitated approval handoffs and later to enable registering webhooks to enable the kinds of integrations you describe.

is this feature exist today ? if so version ?

Hello all,

Have you considered a workflow as the following? 

Developer portal events/event triggers are available via cloud logging (see here: https://www.youtube.com/watch?v=cC33EcJP15Y) as well as Event Arc (see here: https://www.googlecloudcommunity.com/gc/Cloud-Product-Articles/Apigee-Eventarc-Workflow/ta-p/492630) which from there you can publish this information to something like a Webhook (Application Integration is an event destination in Event Arc). From there, you could use a process trigger as follows: https://cloud.google.com/application-integration/docs/configure-webhook-trigger to consume/write to any sort of service of choice (ServiceNow connector for application integration, available here: https://cloud.google.com/integration-connectors/docs/connectors/servicenow/configure)

Hope this helps!