Forums/Community/Zendesk API

Answered

Post comment as user with API?

Uriel Lizama
asked this on February 14, 2012 15:40

Hi,

Is there a way to post a comment on a ticket as the user instead of the agent? I've tried using the X-On-Behalf-Of header on the request but I get a 403 error.

Thanks

 

Comments

User photo
Steven Yan
Product Manager
Check Answer

Hi Uriel, can you provide a curl request example?  You should be able to do this with X-On-Behalf-Of.

April 25, 2012 17:35
User photo
Mike
yabdab

How to do this using the newer, better, v2 API?

July 13, 2012 13:53
User photo
Steven Yan
Product Manager

Hi Mike, sorry for the long silence on this.  We don't have an equivalent to X-On-Behalf-Of in API v2, but we are working on a new /api/v2/requests endpoint which should let you create comments on a ticket as the end-user instead of the agent.  It's being worked on now, so we hope to have something available for all of you within the next few weeks.

August 07, 2012 10:11
User photo
Mike
yabdab

Sounds great. I am using the v1 method until that time comes.

August 07, 2012 12:09
User photo
Rob Eyre
bookdepository

I'm really keen on making use of the new endpoint: +1 from me

August 08, 2012 05:08
User photo
yogi
Rackspace

Any Update on this?

December 04, 2012 08:35