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:


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.