1.5.2 • Published 2 months ago
@engagespot/node v1.5.2
This is the official node.js library for communicating with Engagespot REST API. Send multi-channel notifications from your node app.
Installation
npm install @engagespot/node
Prerequisites
You need Engagespot API KEY and API SECRET from your dashboard to get started. If you don't have one, just get one for free.
Getting Started
import { EngagespotClient } from "@engagespot/node";
const client = EngagespotClient({
apiKey:'ENGAGESPOT_API_KEY',
apiSecret:'ENGAGESPOT_API_SECRET'
})
client.send({
notification:{
title: "Agent X commented on your support ticket #T-793465",
message: "Dear Customer, We're working on your ticket.",
url: "https://support.mydomain.com/tickets/793465",
icon: "https://cdn.support.mydomain.com/images/agent_x_profile.png"
},
recipients:['customer@gmail.com']
});
Refer Engagespot REST API Docs to get the list of all supported parameters.
Advanced Configurations
Methods and supported parameters.
import { EngagespotClient } from "@engagespot/node";
const client = EngagespotClient({
apiKey:'ENGAGESPOT_API_KEY',
apiSecret:'ENGAGESPOT_API_SECRET'
})
const params = {
notification:{
title: "Agent X commented on your support ticket #T-793465",
message: "Dear Customer, We're working on your ticket.",
url: "https://support.mydomain.com/tickets/793465",
icon: "https://cdn.support.mydomain.com/images/agent_x_profile.png"
},
recipients:['customer@gmail.com']
}
client.send(params);
//Creating or Updating a user
client.createOrUpdateUser("identifier",{
"optional":"profile key value pair",
})
1.5.2
2 months ago
1.5.2-beta.0
2 months ago
1.5.1-beta.0
2 months ago
1.5.1
3 months ago
1.5.0
3 months ago
1.5.0-beta.2
3 months ago
1.5.0-beta.1
3 months ago
1.4.6
11 months ago
1.4.5
1 year ago
1.4.4
1 year ago
1.4.3
1 year ago
1.4.2
1 year ago
1.4.1
1 year ago
1.4.0
1 year ago
1.3.0
1 year ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago