View source: R/get_ticket_audits.R
get_ticket_audits | R Documentation |
This function takes your Email Id, authentication token, sub-domain and ticket id as parameters and gets the first 100 audits. Pagination to get additional audits was not set up in the first version of this function.
get_ticket_audits(email_id, token, subdomain, ticket_id)
email_id |
Zendesk Email Id (username). |
token |
Zendesk API token. |
subdomain |
Your organization's Zendesk sub-domain. |
ticket_id |
Integer with Zendesk ticket id. |
It's not a good practice to write down these authentication parameters in your code. There are various methods and packages available that are more secure; this package doesn't require you to use any one in particular.
a Data Frame containing first 100 audits for the ticket, with the events as a nested data frame in each row.
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/
## Not run:
all_tickets <- get_ticket_audits(email_id, token, subdomain,
ticket_id = 123456
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.