ByteChef LogoByteChef

Freshdesk

Freshdesk is a cloud-based customer support software that helps businesses manage customer queries and tickets efficiently.

Categories: Customer Support

Type: freshdesk/v1


Connections

Version: 1

Basic Auth

Properties

NameLabelTypeDescriptionRequired
domainDomainSTRINGYour helpdesk domain name, e.g. https://{your_domain}.freshdesk.com/api/v2true
usernameAPI keySTRINGtrue

Connection Setup

Find API Key

  1. Navigate to your Freshworks dashboard.
  2. Click on Login.
  3. Login to your account.
  4. Click on Continue.
  5. Choose your Freshdesk account.
  6. Click on your Profile icon.
  7. Click on Profile settings.
  8. Click on View API Key and verify you are not a robot.
  9. Here you can see your API Key.
  10. Done 🚀.

Actions

Create Company

Name: createCompany

Creates a new compan.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGName of the company.true
descriptionDescriptionSTRINGDescription of the company.false
noteNoteSTRINGAny specific note about the company.false

Example JSON Structure

{
  "label" : "Create Company",
  "name" : "createCompany",
  "parameters" : {
    "name" : "",
    "description" : "",
    "note" : ""
  },
  "type" : "freshdesk/v1/createCompany"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idINTEGERID of the company.
nameSTRINGName of the company.
descriptionSTRINGDescription of the company.
domainsARRAY
Items [STRING]
List of domains associated with the company.
noteSTRINGNote about the company.
created_atSTRINGTimestamp when the company was created.
updated_atSTRINGTimestamp when the company was last updated.
health_scoreSTRINGHealth score of the company.
account_tierSTRINGAccount tier of the company.
renewal_dateSTRINGRenewal date of the company subscription.
industrySTRINGIndustry of the company.

Output Example

{
  "id" : 1,
  "name" : "",
  "description" : "",
  "domains" : [ "" ],
  "note" : "",
  "created_at" : "",
  "updated_at" : "",
  "health_score" : "",
  "account_tier" : "",
  "renewal_date" : "",
  "industry" : ""
}

Create Contact

Name: createContact

Creates a new contact.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGFull name of the contacttrue
emailEmailSTRINGPrimary email address of the contact.true
phoneWork PhoneSTRINGTelephone number of the contact.false
mobileMobileSTRINGMobile number of the contact.false
descriptionDescriptionSTRINGA small description of the contact.false
job_titleJob TitleSTRINGJob title of the contact.false

Example JSON Structure

{
  "label" : "Create Contact",
  "name" : "createContact",
  "parameters" : {
    "name" : "",
    "email" : "",
    "phone" : "",
    "mobile" : "",
    "description" : "",
    "job_title" : ""
  },
  "type" : "freshdesk/v1/createContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
activeBOOLEAN
Options true, false
Whether the contact is active.
addressSTRINGAddress of the contact.
company_idINTEGERID of the primary company of the contact.
view_all_ticketsBOOLEAN
Options true, false
Whether the contact can view all tickets.
deletedBOOLEAN
Options true, false
Whether the contact is deleted.
descriptionSTRINGDescription of the contact.
emailSTRINGEmail address of the contact.
idINTEGERID of the contact.
contact_typeSTRINGType of the contact.
job_titleSTRINGJob title of the contact.
languageSTRINGLanguage of the contact.
mobileSTRINGMobile number of the contact.
nameSTRINGName of the contact.
phoneSTRINGPhone number of the contact.
time_zoneSTRINGTime zone of the contact.
twitter_idSTRINGTwitter ID of the contact.
social_handlerARRAY
Items [STRING]
List of social handlers of the contact.
other_emailsARRAY
Items [STRING]
List of additional email addresses of the contact.
other_companiesARRAY
Items [{INTEGER(company_id), BOOLEAN(view_all_tickets)}]
List of other companies associated with the contact.
created_atSTRINGTimestamp when the contact was created.
updated_atSTRINGTimestamp when the contact was last updated.
tagsARRAY
Items [STRING]
List of tags associated with the contact.
avatarSTRINGAvatar of the contact.

Output Example

{
  "active" : false,
  "address" : "",
  "company_id" : 1,
  "view_all_tickets" : false,
  "deleted" : false,
  "description" : "",
  "email" : "",
  "id" : 1,
  "contact_type" : "",
  "job_title" : "",
  "language" : "",
  "mobile" : "",
  "name" : "",
  "phone" : "",
  "time_zone" : "",
  "twitter_id" : "",
  "social_handler" : [ "" ],
  "other_emails" : [ "" ],
  "other_companies" : [ {
    "company_id" : 1,
    "view_all_tickets" : false
  } ],
  "created_at" : "",
  "updated_at" : "",
  "tags" : [ "" ],
  "avatar" : ""
}

Create Ticket

Name: createTicket

Creates a new ticket.

Properties

NameLabelTypeDescriptionRequired
subjectSubjectSTRINGSubject of the ticket.true
emailEmailSTRINGEmail address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.true
descriptionDescriptionSTRINGHTML content of the ticket.true
priorityPriorityINTEGER
Options 1, 2, 3, 4
Priority of the ticket.false
statusStatusINTEGER
Options 2, 3, 4, 5
Status of the ticket.false

Example JSON Structure

{
  "label" : "Create Ticket",
  "name" : "createTicket",
  "parameters" : {
    "subject" : "",
    "email" : "",
    "description" : "",
    "priority" : 1,
    "status" : 1
  },
  "type" : "freshdesk/v1/createTicket"
}

Output

Type: OBJECT

Properties

NameTypeDescription
cc_emailsARRAY
Items [STRING]
List of email addresses added in the cc field of the ticket.
fwd_emailsARRAY
Items [STRING]
List of email addresses added while forwarding a ticket.
reply_cc_emailsARRAY
Items [STRING]
List of email addresses added while replying to a ticket.
email_config_idINTEGERID of the email config used for the ticket.
group_idINTEGERID of the group the ticket is assigned to.
priorityINTEGERPriority of the ticket.
requester_idINTEGERID of the requester of the ticket.
responder_idINTEGERID of the agent the ticket is assigned to.
sourceINTEGERChannel through which the ticket was created.
statusINTEGERStatus of the ticket.
subjectSTRINGSubject of the ticket.
company_idINTEGERID of the company the ticket belongs to.
idINTEGERID of the ticket.
typeSTRINGType of the ticket.
to_emailsARRAY
Items [STRING]
List of email addresses the ticket was sent to.
product_idINTEGERID of the product the ticket belongs to.
fr_escalatedBOOLEAN
Options true, false
Whether the ticket has been escalated as the result of first response time being breached.
spamBOOLEAN
Options true, false
Whether the ticket has been marked as spam.
urgentBOOLEAN
Options true, false
Whether the ticket is marked as urgent.
is_escalatedBOOLEAN
Options true, false
Whether the ticket has been escalated.
created_atSTRINGTimestamp when the ticket was created.
updated_atSTRINGTimestamp when the ticket was last updated.
due_bySTRINGTimestamp when the ticket is due to be resolved.
fr_due_bySTRINGTimestamp when the first response is due.
description_textSTRINGPlain text version of the ticket description.
descriptionSTRINGHTML content of the ticket description.
tagsARRAY
Items [STRING]
List of tags associated with the ticket.
attachmentsARRAY
Items [{}]
List of attachments associated with the ticket.

Output Example

{
  "cc_emails" : [ "" ],
  "fwd_emails" : [ "" ],
  "reply_cc_emails" : [ "" ],
  "email_config_id" : 1,
  "group_id" : 1,
  "priority" : 1,
  "requester_id" : 1,
  "responder_id" : 1,
  "source" : 1,
  "status" : 1,
  "subject" : "",
  "company_id" : 1,
  "id" : 1,
  "type" : "",
  "to_emails" : [ "" ],
  "product_id" : 1,
  "fr_escalated" : false,
  "spam" : false,
  "urgent" : false,
  "is_escalated" : false,
  "created_at" : "",
  "updated_at" : "",
  "due_by" : "",
  "fr_due_by" : "",
  "description_text" : "",
  "description" : "",
  "tags" : [ "" ],
  "attachments" : [ { } ]
}

Update Ticket

Name: updateTicket

Updates a ticket.

Properties

NameLabelTypeDescriptionRequired
ticketIdTicket IdSTRINGfalse
subjectSubjectSTRINGSubject of the ticket.false
emailEmailSTRINGEmail address of the requester. If no contact exists with this email address in Freshdesk, it will be added as a new contact.false
descriptionDescriptionSTRINGHTML content of the ticket.false
priorityPriorityINTEGER
Options 1, 2, 3, 4
Priority of the ticket.false
statusStatusINTEGER
Options 2, 3, 4, 5
Status of the ticket.false

Example JSON Structure

{
  "label" : "Update Ticket",
  "name" : "updateTicket",
  "parameters" : {
    "ticketId" : "",
    "subject" : "",
    "email" : "",
    "description" : "",
    "priority" : 1,
    "status" : 1
  },
  "type" : "freshdesk/v1/updateTicket"
}

Output

Type: OBJECT

Properties

NameTypeDescription
cc_emailsARRAY
Items [STRING]
List of email addresses added in the cc field of the ticket.
fwd_emailsARRAY
Items [STRING]
List of email addresses added while forwarding a ticket.
reply_cc_emailsARRAY
Items [STRING]
List of email addresses added while replying to a ticket.
email_config_idINTEGERID of the email config used for the ticket.
group_idINTEGERID of the group the ticket is assigned to.
priorityINTEGERPriority of the ticket.
requester_idINTEGERID of the requester of the ticket.
responder_idINTEGERID of the agent the ticket is assigned to.
sourceINTEGERChannel through which the ticket was created.
statusINTEGERStatus of the ticket.
subjectSTRINGSubject of the ticket.
company_idINTEGERID of the company the ticket belongs to.
idINTEGERID of the ticket.
typeSTRINGType of the ticket.
to_emailsARRAY
Items [STRING]
List of email addresses the ticket was sent to.
product_idINTEGERID of the product the ticket belongs to.
fr_escalatedBOOLEAN
Options true, false
Whether the ticket has been escalated as the result of first response time being breached.
spamBOOLEAN
Options true, false
Whether the ticket has been marked as spam.
urgentBOOLEAN
Options true, false
Whether the ticket is marked as urgent.
is_escalatedBOOLEAN
Options true, false
Whether the ticket has been escalated.
created_atSTRINGTimestamp when the ticket was created.
updated_atSTRINGTimestamp when the ticket was last updated.
due_bySTRINGTimestamp when the ticket is due to be resolved.
fr_due_bySTRINGTimestamp when the first response is due.
description_textSTRINGPlain text version of the ticket description.
descriptionSTRINGHTML content of the ticket description.
tagsARRAY
Items [STRING]
List of tags associated with the ticket.
attachmentsARRAY
Items [{}]
List of attachments associated with the ticket.

Output Example

{
  "cc_emails" : [ "" ],
  "fwd_emails" : [ "" ],
  "reply_cc_emails" : [ "" ],
  "email_config_id" : 1,
  "group_id" : 1,
  "priority" : 1,
  "requester_id" : 1,
  "responder_id" : 1,
  "source" : 1,
  "status" : 1,
  "subject" : "",
  "company_id" : 1,
  "id" : 1,
  "type" : "",
  "to_emails" : [ "" ],
  "product_id" : 1,
  "fr_escalated" : false,
  "spam" : false,
  "urgent" : false,
  "is_escalated" : false,
  "created_at" : "",
  "updated_at" : "",
  "due_by" : "",
  "fr_due_by" : "",
  "description_text" : "",
  "description" : "",
  "tags" : [ "" ],
  "attachments" : [ { } ]
}

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.

How is this guide?

Last updated on

On this page