Description Usage Arguments Details Value Examples
contact
queries the Freshdesk API and returns data related to a contact.
1 | contact(client, contact_id, contacts_path = "/api/v2/contacts")
|
client |
The Freshdesk API client object (see |
contact_id |
The ID of the contact you would like to view. |
contacts_path |
The path of the contacts API. Defaults to |
This function queries the Freshdesk API based on contact id to view the details regarding this contact.
A list with the attributes of the contact.
1 2 3 4 5 6 7 | ## Not run:
fc <- freshdesk_client("your-domain", "your-api-key")
# view contact with id = 42001318958
ct <- contact(fc, 42001318958)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.