API Trigger Custom Response?

Hi all,
Trying to integrate ICON with Okta to build out some workflows.
Okta’s WebHook function requires a one-time verification of the hook URL. See here - https://developer.okta.com/docs/concepts/event-hooks/#which-events-are-eligible

Essentially it sends a verification code and you have to send it back in the JSON response.
Is there a way to do a custom response to an API trigger?!

Thanks,