Skip to main content

Hi community,

I am trying to delete a contact by using a wehbook automation in Freshdesk. 

When I know the ID of the contact, the webhook is working, example: /api/v2/contacts/123456, but I don’t know how to generalize for any contact ID. There is no contact ID on the placeholder list of Contacts

and I have tried with /api/v2/contacts/{{id}} and /api/v2/contacts/nid]

Neither of them delete the contact. What is the correct placeholder for the ID of the contact?

Thank you

Hi @sgutierrez,

Welcome to the Freshdesk Community!

I understand you are looking to find the contact id placeholder to facilitate your contact deletion; here is a document that might come in handy to find this -

https://support.freshdesk.com/en/support/solutions/articles/52630-understanding-dynamic-content-and-placeholders

Please try the following placeholder and let me know if this does the trick?

{{ticket.requester.id}}

Cheers!

 


Reply