With the Freshdesk API, you can create powerful customer support applications. Here are some examples of what you can build:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
freshdesk: {
type: "app",
app: "freshdesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.freshdesk.$auth.domain}.freshdesk.com/api/v2/tickets`,
auth: {
username: `${this.freshdesk.$auth.api_key}:X`,
password: ``,
},
})
},
})
Freshdesk uses API keys for authentication. When you connect your Freshdesk account, Pipedream securely stores the keys so you can easily authenticate to Freshdesk APIs in both code and no-code steps.
Your API key is in your Profile > Settings page, below the change password section on the right.
Your domain is 12345678
if your Freshdesk URL is https://12345678.freshdesk.com/