Question

Freshdesk Delete contact with trigger webhook

  • 4 May 2022
  • 1 reply
  • 77 views

Userlevel 1
Badge +2

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/[id]

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

Thank you


1 reply

Userlevel 5
Badge +5

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