This function sends a Pushbullet™ test message to determine that the token is valid and that the account holder can receive the message.
access_token required | string The Pushbullet access token. Note:
Example: access_token=a1b2c3d4e5f6g7h8i9j0 |
uapi --output=jsonpretty \ --user=username \ Pushbullet \ send_test_message \ access_token='a1b2c3d4e5f6g7h8i9j0'
{- "apiversion": 3,
- "func": "send_test_message",
- "module": "Pushbullet",
- "result": {
- "data": {
- "message_id": "554d2cbd-efe61da3cacb",
- "payload": {
- "active": true,
- "body": "This message confirms that “hostname.example.com“ (192.168.0.20)\ncan send a message to you via Pushbullet.\n\nThis message was sent on Monday, May 18, 2015 at 7:12:20 PM UTC.",
- "created": 1431976341.38872,
- "direction": "self",
- "dismissed": false,
- "iden": "ujw5ScArtjUsjAeRXXMLGS",
- "modified": 1431976341.39182,
- "receiver_email": "user@example.com",
- "receiver_email_normalized": "user@example.com",
- "receiver_iden": "ujw5ScArtjU",
- "sender_email": "user@example.com",
- "sender_email_normalized": "user@example.com",
- "sender_iden": "ujw5ScArtjU",
- "sender_name": "Firstname Lastname",
- "title": "Test message (ID: 555a3994-173a4a271062d)",
- "type": "note"
}
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}