
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
infusionsoft-sdk
Advanced tools
A NodeJS SDK automatically generated from Infusionsoft API Swagger definitions.
InfusionsoftRestApi - JavaScript client for infusionsoft_rest_api No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install infusionsoft_rest_api --save
If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/infusionsoft_rest_api then install it via:
npm install YOUR_USERNAME/infusionsoft_rest_api --save
The library also works in the browser environment via npm and browserify. After following
the above steps with Node.js and installing browserify with npm install -g browserify,
perform the following (assuming main.js is your entry file):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:
module: {
rules: [
{
parser: {
amd: false
}
}
]
}
Please follow the installation instruction and execute the following JS code:
var InfusionsoftRestApi = require('infusionsoft_rest_api');
var api = new InfusionsoftRestApi.AppointmentApi()
var opts = {
'since': "since_example", // {String} Date to start searching from ex. `2017-01-01T22:17:59.039Z`
'until': "until_example", // {String} Date to search to ex. `2017-01-01T22:17:59.039Z`
'limit': 56, // {Number} Sets a total of items to return
'offset': 56 // {Number} Sets a beginning range of items to return
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.appointmentsUsingGET(opts, callback);
All URIs are relative to https://api.infusionsoft.com/crm/rest/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| InfusionsoftRestApi.AppointmentApi | appointmentsUsingGET | GET /appointments | List Appointments |
| InfusionsoftRestApi.AppointmentApi | createAppointmentUsingPOST | POST /appointments | Create an Appointment |
| InfusionsoftRestApi.AppointmentApi | loadAppointmentUsingGET | GET /appointments/{appointmentId} | Retrieve an Appointment |
| InfusionsoftRestApi.AppointmentApi | removeAppointmentUsingDELETE | DELETE /appointments/{appointmentId} | Delete an Appointment |
| InfusionsoftRestApi.AppointmentApi | replaceAppointmentUsingPUT | PUT /appointments/{appointmentId} | Replace an Appointment |
| InfusionsoftRestApi.AppointmentApi | searchUsingGET | GET /appointments/search | Search Appointments |
| InfusionsoftRestApi.AppointmentApi | syncUsingGET | GET /appointments/sync | Retrieve Synced Appointments |
| InfusionsoftRestApi.AppointmentApi | updateAppointmentUsingPATCH | PATCH /appointments/{appointmentId} | Update an Appointment |
| InfusionsoftRestApi.CampaignApi | addContactsToCampaignSequenceUsingPOST | POST /campaigns/{campaignId}/sequences/{sequenceId}/contacts/{contactId} | Add to Campaign Sequence |
| InfusionsoftRestApi.CampaignApi | addContactsToCampaignSequenceUsingPOST1 | POST /campaigns/{campaignId}/sequences/{sequenceId}/contacts | Add Multiple to Campaign Sequence |
| InfusionsoftRestApi.CampaignApi | getAllCampaignsUsingGET | GET /campaigns | List Campaigns |
| InfusionsoftRestApi.CampaignApi | getCampaignUsingGET | GET /campaigns/{campaignId} | Retrieve a Campaign |
| InfusionsoftRestApi.CampaignApi | removeContactsFromCampaignSequenceUsingDELETE | DELETE /campaigns/{campaignId}/sequences/{sequenceId}/contacts/{contactId} | Remove from Campaign Sequence |
| InfusionsoftRestApi.CampaignApi | removeContactsFromCampaignSequenceUsingDELETE1 | DELETE /campaigns/{campaignId}/sequences/{sequenceId}/contacts | Remove Multiple from Campaign Sequence |
| InfusionsoftRestApi.ContactApi | applyTagsToContactIdUsingPOST | POST /contacts/{contactId}/tags | Apply Tags |
| InfusionsoftRestApi.ContactApi | createContactUsingPOST | POST /contacts | Create a Contact |
| InfusionsoftRestApi.ContactApi | createOrUpdateContactUsingPUT | PUT /contacts | Create or Update a Contact |
| InfusionsoftRestApi.ContactApi | deleteContactUsingDELETE | DELETE /contacts/{contactId} | Delete a Contact |
| InfusionsoftRestApi.ContactApi | listAppliedTagsUsingGET | GET /contacts/{contactId}/tags | List Applied Tags |
| InfusionsoftRestApi.ContactApi | listContactsUsingGET | GET /contacts | List Contacts |
| InfusionsoftRestApi.ContactApi | listCustomFieldsUsingGET | GET /contactCustomFields | List Contact Custom Fields |
| InfusionsoftRestApi.ContactApi | loadUsingGET | GET /contacts/{id} | Retrieve a Contact |
| InfusionsoftRestApi.ContactApi | removeTagsFromContactUsingDELETE | DELETE /contacts/{contactId}/tags/{tagId} | Remove Applied Tag |
| InfusionsoftRestApi.ContactApi | removeTagsFromContactUsingDELETE1 | DELETE /contacts/{contactId}/tags | Remove Applied Tags |
| InfusionsoftRestApi.ContactApi | updateContactUsingPATCH | PATCH /contacts/{contactId} | Update a Contact |
| InfusionsoftRestApi.ECommerceApi | loadOrderUsingGET | GET /orders/{orderId} | Retrieve an Order |
| InfusionsoftRestApi.ECommerceApi | searchUsingGET1 | GET /orders | List Orders |
| InfusionsoftRestApi.ECommerceApi | searchUsingGET2 | GET /transactions | List Transactions |
| InfusionsoftRestApi.ECommerceApi | transactionByIdUsingGET | GET /transactions/{transactionId} | Retrieve a Transaction |
| InfusionsoftRestApi.ECommerceApi | transactionsForOrderUsingGET | GET /orders/{orderId}/transactions | Retrieve Order Transactions |
| InfusionsoftRestApi.OpportunityApi | createOpportunityUsingPOST | POST /opportunities | Create an Opportunity |
| InfusionsoftRestApi.OpportunityApi | getOpportunityUsingGET | GET /opportunities/{opportunityId} | Retrieve an Opportunity |
| InfusionsoftRestApi.OpportunityApi | getStagePipelineUsingGET | GET /opportunity/stage_pipeline | List Opportunity Stage Pipeline |
| InfusionsoftRestApi.OpportunityApi | listOpportunitiesUsingGET | GET /opportunities | List Opportunities |
| InfusionsoftRestApi.OpportunityApi | replaceOpportunityUsingPUT | PUT /opportunities | Replace an Opportunity |
| InfusionsoftRestApi.OpportunityApi | updateOpportunityUsingPATCH | PATCH /opportunities/{opportunityId} | Update an Opportunity |
| InfusionsoftRestApi.ProductApi | loadProductUsingGET | GET /products/{productId} | Retrieve a Product |
| InfusionsoftRestApi.ProductApi | searchUsingGET3 | GET /products/search | List Products |
| InfusionsoftRestApi.ProductApi | syncUsingGET1 | GET /products/sync | Retrieve Synced Products |
| InfusionsoftRestApi.RESTHooksApi | createAHookSubscription | POST /hooks | Create a Hook Subscription |
| InfusionsoftRestApi.RESTHooksApi | deleteAHookSubscription | DELETE /hooks/{key} | Delete a Hook Subscription |
| InfusionsoftRestApi.RESTHooksApi | listHookEventTypes | GET /hooks/event_keys | List Hook Event Types |
| InfusionsoftRestApi.RESTHooksApi | listStoredHookSubscriptions | GET /hooks | List Stored Hook Subscriptions |
| InfusionsoftRestApi.RESTHooksApi | retrieveAHookSubscription | GET /hooks/{key} | Retrieve a Hook Subscription |
| InfusionsoftRestApi.RESTHooksApi | updateAHookSubscription | PUT /hooks/{key} | Update a Hook Subscription |
| InfusionsoftRestApi.RESTHooksApi | verifyAHookSubscription | POST /hooks/{key}/verify | Verify a Hook Subscription |
| InfusionsoftRestApi.TaskApi | createTaskUsingPOST | POST /tasks | Create a Task |
| InfusionsoftRestApi.TaskApi | loadTaskUsingGET | GET /tasks/{taskId} | Retrieve a Task |
| InfusionsoftRestApi.TaskApi | removeTaskUsingDELETE | DELETE /tasks/{taskId} | Delete a Task |
| InfusionsoftRestApi.TaskApi | replaceTaskUsingPUT | PUT /tasks/{taskId} | Replace a Task |
| InfusionsoftRestApi.TaskApi | searchUsingGET4 | GET /tasks/search | Search Tasks |
| InfusionsoftRestApi.TaskApi | syncUsingGET2 | GET /tasks/sync | Retrieve Synced Tasks |
| InfusionsoftRestApi.TaskApi | tasksUsingGET | GET /tasks | List Tasks |
| InfusionsoftRestApi.TaskApi | updateTaskUsingPATCH | PATCH /tasks/{taskId} | Update a Task |
All endpoints do not require authorization.
FAQs
A NodeJS SDK automatically generated from Infusionsoft API Swagger definitions.
We found that infusionsoft-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.