Hi,
When I'm creating a client I'm using the ClientAdd hook so that any information added when creating the client will be sent to another system as a webhook.
I can do it without a problem and everything is working well - except getting the client custom fields information.
I know that I can call this information separately with a nother get command - but this is not what I'm looking for.
In the hook documentation it is only mentioned that the customFields Variable is a array Type.
Can someone give me a code example to show how can I incorporate the custom fields information that got added when creating the client?
This is the code I'm using now - sorry this is a picture since I'm getting 403 Forbidden when trying to add it directly to the ticket....
The only part missing is the information added to the custom fields during the client creation and got triggered with the ClientAdd hook.
Thanks!
Ram