Create a free account with us and start testing our service on a 7-day trial.
Download the iOS App or Android App and log in with your previously created account details.
Send a test notification from the tokens panel or provide a user token to your favorite software. Developers can have a look here for integration instructions.
npm install --save pusha
const pusha = require('pusha')('YOUR_API_KEY');
pusha.send({
recipients: ['USER_TOKEN_1', 'USER_TOKEN_2'], // can be found in the app settings
message: 'hello from node'
}).then(response => {
console.log(response)
}).catch(error => {
console.error(error)
})
View more examples and integration instructions here.