npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@datafire/nexmo_application

v3.0.0

Published

DataFire integration for Nexmo Application API

Readme

@datafire/nexmo_application

Client library for Nexmo Application API

Installation and Usage

npm install --save @datafire/nexmo_application
let nexmo_application = require('@datafire/nexmo_application').create();

.then(data => {
  console.log(data);
});

Description

Actions

retrieveApplications

You use a GET request to retrieve details of all applications associated with your account.

nexmo_application.retrieveApplications({
  "api_key": "",
  "api_secret": ""
}, context)

Input

  • input object
    • api_key required string: You can find your API key in your account overview
    • api_secret required string: You can find your API secret in your account overview
    • page_size integer: Set the number of items returned on each call to this endpoint. The default is 10 records.
    • page_index integer: Set the offset from the first page. The default value is 0.

Output

createApplication

You use a POST request to create a new application.

nexmo_application.createApplication({}, context)

Input

  • input object
    • body object
      • answer_method string: The HTTP method used to make the request to answer_url. The default value is GET.
      • answer_url string: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. Required for inbound calls only.
      • api_key required apiKey
      • api_secret required apiSecret
      • event_method string: The HTTP method used to send event information to event_url. The default value is POST. For voice type applications only.
      • event_url string: Nexmo sends event information asynchronously to this URL when status changes for voice applications. Always required for voice applications.
      • inbound_method string: The HTTP method used to send event information to inbound_url. The default value is POST. For messages type applications only.
      • inbound_url string: Nexmo sends a request to this URL when an inbound message is received. Required for messages type applications only.
      • name required string: The name of your application.
      • status_method string: The HTTP method used to send event information to status_url. The default value is POST. For messages type applications only.
      • status_url string: Nexmo sends event information asynchronously to this URL when status changes. Required for messages type applications only.
      • type required string (values: voice, messages): The Nexmo product or products that you access with this application. Currently voice and messages application types are supported.

Output

deleteApplication

You use a DELETE request to delete a single application.

nexmo_application.deleteApplication({
  "app_id": ""
}, context)

Input

  • input object
    • app_id required string: The ID allocated to your application by Nexmo.

Output

Output schema unknown

retrieveApplication

You use a GET request to retrieve details about a single application.

nexmo_application.retrieveApplication({
  "api_key": "",
  "api_secret": "",
  "app_id": ""
}, context)

Input

  • input object
    • api_key required string: You can find your API key in your account overview
    • api_secret required string: You can find your API secret in your account overview
    • app_id required string: The ID allocated to your application by Nexmo.

Output

updateApplication

You use a PUT request to update an existing application.

nexmo_application.updateApplication({
  "app_id": ""
}, context)

Input

  • input object
    • app_id required string: The ID allocated to your application by Nexmo.
    • body object
      • answer_method string: The HTTP method used to make the request to answer_url. The default value is GET.
      • answer_url string: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url.
      • api_key required apiKey
      • api_secret required apiSecret
      • event_method string: The HTTP method used to send event information to event_url. The default value is POST.
      • event_url string: Nexmo sends event information asynchronously to this URL when status changes.
      • name required string: The name of your application.
      • type required string (values: voice, messages): The Nexmo product or products that you access with this application. Currently voice and messages application types are supported. You can't change the type of application.

Output

Definitions

apiKey

apiSecret

application

applicationBase

  • applicationBase object
    • id string: The ID allocated to your application by Nexmo.
    • name string: The name of your application

applicationCreated

applications

applicationsBase

  • applicationsBase object
    • _embedded object
      • applications array: The collection of your applications. Each object contains information about an an individual application. The public_key is not included in the application information.
    • count integer: The number of items associated with your account.
    • page_index integer: The offset from the first page.
    • page_size integer: The number of items returned on each call to this endpoint. The default is 10 records.

keys

  • keys object: The Nexmo product that you access with this application.
    • public_key string: The public key used to validate the JWT.

keysWithPrivateKey

  • keysWithPrivateKey
    • public_key string: The public key used to validate the JWT.
    • private_key string: The private key you use to generate the JSON Web Token (JWT) that authenticates your requests to Messages API.

links

  • links object: A series of links between resources in this API in the following HAL specification.
    • href string: The link URL.

messages

  • messages object: The Nexmo product that you access with this application.
    • webhooks array
      • items object
        • endpoint required string: inbound_url: The URL where inbound messages are delivered. status_url: The URL where message status is delivered.
        • endpoint_type required string (values: inbound_url, status_url)
        • http_method required string (values: GET, POST): The HTTP method used to send data to the inbound_url or status_url. Default is POST.

voice

  • voice object: The Nexmo product that you access with this application.
    • webhooks array
      • items object
        • endpoint required string: answer_url: The URL where your webhook delivers the Nexmo Call Control Object that governs this call. As soon as your user answers a call Nexmo makes a request to answer_url. event_url: Nexmo sends event information asynchronously to this URL when status changes.
        • endpoint_type required string (values: answer_url, event_url)
        • http_method required string (values: GET, POST): The HTTP method used to send event information to the event_url or answer_url.