pushbullet.pushData() function

pushbullet.pushData() sends a push notification to the Pushbullet API.

Function type signature
(data: A, ?token: B, ?url: string) => int
For more information, see Function type signatures.



URL of the PushBullet endpoint. Default is "".


API token string. Default is "".


(Required) Data to send to the endpoint. Data is JSON-encoded and sent to the Pushbullet’s endpoint.

For how to structure data, see the Pushbullet API documentation.


Send a push notification to Pushbullet

import "pushbullet"

    token: "mY5up3Rs3Cre7T0k3n",
    data: {
        "type": "link",
        "title": "Example title",
        "body": "Example nofication body",
        "url": "",

Was this page helpful?

Thank you for your feedback!

Introducing InfluxDB 3.0

The new core of InfluxDB built with Rust and Apache Arrow. Available today in InfluxDB Cloud Dedicated.

Learn more

State of the InfluxDB Cloud Serverless documentation

The new documentation for InfluxDB Cloud Serverless is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.