'*GET /api/webhooks/{webhook_type}
Returns a random webhook for a given type'

@expose_api_anonymous_and_sessionless
def get_random(self, trans, webhook_type, **kwd):

    webhooks = [webhook for webhook in self.app.webhooks_registry.webhooks if ((webhook_type in webhook.type) and (webhook.activate is True))]
    return (random.choice(webhooks).to_dict() if webhooks else {})
