Customizing Okta Event Hooks


Is it somehow possible to customize the fields in the Target object in the Okta Event Hook payload?
"target": [ { "id": "00ut2kt3gpXHQvp7Q0x6", "type": "User", "alternateId": "", "displayName": "Donald Duck" },
For example, It would be great to have Mobile Phone present in this object.

Or it is better to use Okta Workflows for creating and sending custom objects?

Thanks in advance!

I don’t think you can customize payload, unfortunately. Workflows can handle that for sure, but there is cost associated

@vvpavlov Like @phi1ipp mentioned you would not be able to customize the payload of the event object. The content of each array element is an object of the LogEvent type. Target object is defined here.