Skip to content

Provides a series of methods for interacting with the Freshworks CRM REST api.

License

Notifications You must be signed in to change notification settings

edmund-need2know/freshworks-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to freshworks-api 👋

Version License: MIT

Provides a series of methods for interacting with the Freshworks CRM REST api.

Contributions welcome.

Install

yarn install freshworks-api

Use

const sdk = new FreshWorksCrm({authToken: <your freshworks api token here>, freshworksSubdomain: <your freshworks CRM subdomain here>});

let contacts = sdk.searchForContacts('search query');
let singleContact = sdk.getContact('contact-id');
let newContact = sdk.createContact({});
let updatedContact = sdk.updateContact({});

let accounts = sdk.searchForAccounts('search query');
let newAccount = sdk.createAccount({});
let updatedAccount = sdk.updateAccount({});

let deals = sdk.searchForDeals('search query');
let singleDeal = sdk.getDeal('deal-id');
let newDeal = sdk.createDeal({});
let updatedDeal = sdk.updateDeal({});

let newNote = sdk.createNote({})

Author

👤 Edmund Munday [email protected]

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

Provides a series of methods for interacting with the Freshworks CRM REST api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published