Placeholders not working proprerly via Rest API?



Posted Feb 08, 2024

Hi everyone, my name is Lucas and I'm facing a difficulty when trying to create a ticket in Zendesk restAPI, I'm using the placeholder {{ticket.requester.name}} in the title, this configuration worked perfectly previously but now it's no longer working. Can anyone tell me what I'm doing wrong?


1

1

1 comment

image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Lucas,
 
Placeholders are intended for use in business rules to return data about the current ticket or current user during the rule's execution.  So there isn't a way to resolve a placeholder included in the body of a request sent from an external service like Postman.  If the requester is known when sending the request, it may be simplest to directly provide their name in the request body.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post