Interval Check of Key Status

I would like to set up an interval check of key status and perform an action whenever it does. For example, I would like to check every hour and whenever a key changes from pending to approved I would like to perform a http call to a URL. Is this possible using cron or any other out of the box features in Apigee/Drupal? If so, how can I achieve this?

0 1 186
1 REPLY 1

sidd-harth
Participant V

We have a management API call, you can write a simple script/cron job to get the status,

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/developers/%7Bdeveloper_...
$.credentials[0].status

or

In some cases if you have the consumer/api key, you get details for specific keys,

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/developers/%7Bdeveloper_...
$.status