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