Using API to create comment attachment with existing URL instead of upload token.



已于 2023年6月10日 发布

Hello.

I'm writing an APP using the ZAFClient api that creates a new comment.  The new comment will add a CC and include the attachment from the original ticket description.

The /api/v2/tickets/ interface where the comment uploads takes a token returned from api/v2/uploads.  But, in my case, the attachment is already part of the ticket.  I would like to refer to the original contentUrl in the new comment for 2 reasons - (1) I would like to not duplicate the storage usage for the tickets and (2) avoid the complication of downloading then uploading the file.

Is there a way to specify the contentUrl during the comment creation?  Or maybe a better way to add this to the zendesk page?

Thanks,


0

0

0 条评论

登录以发表评论。

找不到所需的内容?

新建帖子