
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@freshworks/api-sdk
Advanced tools
Node.js SDK for working with Freshworks HTTP APIs. Currently supports Freshteam and partially supports Freshservice.
npm install --save @freshworks/api-sdk
Product | Status |
---|---|
Freshteam | ✅ |
Freshservice | 🏁 |
🏁 - Partially supported services
This section depicts example of using different API capabilities offered with examples
This section depicts example of interacting with Freshteam API
const { Freshteam } = require("@freshworks/api-sdk");
const ft = new Freshteam(domain, apiKey);
Call a method, e.g., list all employees (who match a search criteria):
const res = await ft.employees.list({ first_name: "Arthur", last_name: "Dent" });
// Access the response body as an Array of `Employee` objects
const employees = res.json();
This section depicts example of interacting with Freshservice API
const { Freshservice } = require("@freshworks/api-sdk");
const fs = new Freshservice(domain, apiKey);
Call a method, e.g., fetch a Freshservice Ticket
// Get a tick with given ticket ID
const res = await fs.tickets.get(14000239432);
// Access the response body as a `Ticket` object
const ticket = res.json();
MIT
FAQs
Node.js SDK for Freshworks HTTP APIs
The npm package @freshworks/api-sdk receives a total of 6 weekly downloads. As such, @freshworks/api-sdk popularity was classified as not popular.
We found that @freshworks/api-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.