API REST Hooks: more details in payload

I’ve successfully setup “contact.add” api hook. In the payload, I’m only getting the contact ID. For example:

{“event_key”:“contact.add”,“object_type”:“contact”,“object_keys”:[{“apiUrl”:“”,“id”:11,“timestamp”:“2019-10-03T15:19:44Z”}],“api_url”:“”}

via: $notification = json_decode(file_get_contents(‘php://input’));

Is there a way to get the contact name, email… etc?

Hi, @Pawel_Urbanski,

The intention at that point is that you use the api (REST or RPC) to get what specific information you need. The id that’s given to you provides what you need to read the specific information for that id.