Skip to main content
Question

Freshdesk Delete contact with trigger webhook

  • May 4, 2022
  • 1 reply
  • 90 views

sgutierrez
Top Contributor
Forum|alt.badge.img+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

Did this topic help you find an answer to your question?

1 reply

Pooja Bernice
Community Debut
Forum|alt.badge.img+6

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