View source: R/get_custom_fields.R
get_custom_fields | R Documentation |
It takes your Email Id, authentication token, sub-domain as parameters and gets the system and all the custom fields available for a zendesk ticket.
get_custom_fields(email_id, token, subdomain)
email_id |
Zendesk Email Id (username). |
token |
Zendesk API token. |
subdomain |
Your organization's Zendesk sub-domain. |
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 all ticket fields
https://developer.zendesk.com/rest_api/docs/support/ticket_fields
## Not run:
fields <- get_custom_fields(email_id, token, subdomain)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.