Recent searches


No recent searches

Riley Green's Avatar

Riley Green

Joined Jun 15, 2023

·

Last activity Jul 11, 2023

Following

0

Followers

0

Total activity

8

Votes

0

Subscriptions

4

ACTIVITY OVERVIEW

Latest activity by Riley Green

Riley Green created a post,

Post Developer - Zendesk APIs

Hi, in https://support.zendesk.com/hc/en-us/articles/4408886858138-Zendesk-Support-placeholders-referenc, I did not see any unique identifier for a company(that mean, the company who bought the product).  

we can create multiple organizations, brands. What would be suitable to be the unique identifier in trigger type webhook?

Posted Jul 11, 2023 · Riley Green

1

Follower

2

Votes

1

Comment


Riley Green created a post,

Post Developer - Zendesk APIs

My app receives request from webhook. When a ticket is updated, in the JSON body, the attachment can only have attachment.name and attachment.url. In this case, I cannot store the attachment.id into my db. 

When I need to delete(redact in zendesk's language because I did not see any delete attachment operation) the attachment, I need to use this API, but where can I get attachment_id? 

PUT /api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact


the only solution I can see is 

GET /api/v2/tickets/{ticket_id}/comments

and loop over to match the comment id and then loop over the attachments to match with url(same filename is possible) and get the attachment_id??

Also, when I want to upload an attachment and attach it to an existing ticket comment, can I do that from API?

Posted Jun 26, 2023 · Riley Green

0

Followers

3

Votes

1

Comment


Riley Green created a post,

Post Developer - Zendesk APIs

In my case, I want the webhook trigger to send the same organization for a single account no matter which organization the ticket is creating under(like the organization the account belongs to). 

I have tried {{ticket.organization.name}} and {{current_user.organization.name}}. But for end users assigned to different organization, the field would be different. Is there any way so that for a single (subscription) account, the same organization name is in the JSON body so that my app can distinguish between different tenants/companies?

 

Edited Jun 15, 2023 · Riley Green

0

Followers

3

Votes

2

Comments


Riley Green commented,

CommentCustomer management and profiles

Hi, I have similar problem here. But In my case, I want the webhook trigger to send the same organization for a single account no matter which organization the ticket is creating under(like the organization the account belongs to). 

I have tried {{ticket.organization.name}} and {{current_user.organization.name}}. But for end users assigned to different organization, the field would be different. Is there any way so that for a single (subscription) account, the same organization name is returned? 

thanks!

View comment · Posted Jun 15, 2023 · Riley Green

0

Followers

0

Votes

0

Comments