You can find our user documentation at

Check out our new API beta site!

Child pages
  • WHM API 1 Functions - send_test_pushbullet_note
Skip to end of metadata
Go to start of metadata


This function uses the specified access token to send a test Pushbullet™ note.

The function automatically generates a message title and body, and it includes a unique string in the test message. When the test message returns, the system searches for the ID string and returns it.

If the function does not detect the correct ID string in the returned message, the function fails.

You can also review the user's Pushbullet channel history to confirm that the server sent and received the message.

The test's success or failure depends on various conditions. For example:

  • Valid access token.
  • Network configuration.
  • Service outages.
  • External server rate limit.


 Command Line
whmapi1 send_test_pushbullet_note access_token=a1b2c3d4e5f6g7h8i9j0


  • Unless otherwise noted, you must URI-encode values.
  • For more information and additional output options, read our Guide to WHM API 1 documentation or run the whmapi1 --help command.
  • If you run CloudLinux™, you must use the full path of the whmapi1 command:


 Output (JSON)
	"data": {
		"message_id": "555a3994-173a4a271062d",
		"payload": {
			"dismissed": false,
			"body": "This message confirms that \"\" ( can send a message to you via Pushbullet.\n\nThis message was sent on Monday, May 18, 2015 at 7:12:20 PM UTC.",
			"receiver_email": "",
			"direction": "self",
			"sender_iden": "ujw5ScArtjU",
			"iden": "ujw5ScArtjUsjAeRXXMLGS",
			"sender_name": "Firstname Lastname",
			"active": true,
			"sender_email": "",
			"receiver_email_normalized": "",
			"modified": 1431976341.39182,
			"created": 1431976341.38872,
			"sender_email_normalized": "",
			"type": "note",
			"receiver_iden": "ujw5ScArtjU",
			"title": "Test message (ID: 555a3994-173a4a271062d)"
	"metadata": {
		"version": 1,
		"reason": "OK",
		"result": "1",
		"command": "send_test_pushbullet_note"
 Output (XML)
            <body>This message confirms that &#x201C;; ( can send a message to you via Pushbullet.
            This message was sent on Monday, May 18, 2015 at 7:19:36 PM UTC.</body>
            <sender_name>Firstname Lastname</sender_name>
            <title>Test message (ID: 555a3b48-1b167d113be2c)</title>


Use WHM's API Shell interface (WHM >> Home >> Development >> API Shell) to directly test WHM API calls.



ParameterTypeDescriptionPossible valuesExample


The Pushbullet token to use.

A valid Pushbullet token.


  • To access your Pushbullet token, navigate to Pushbullet's My Account page. It will appear under the Access Token heading.
  • This is confidential information that your server sends via a secure channel.


ReturnTypeDescriptionPossible valuesExample

The test message's ID.

A valid string.


The payload from the Pushbullet server.

For more information, visit Pushbullet's API documentation.


This return may contain values that are Boolean primitives. JSON properly represents these, but XML represents them as 0 or 1.