Skip to content

Notify_pushjet

lead2gold edited this page Jan 25, 2018 · 9 revisions

Pushjet Notifications

  • Source: https://pushjet.io/
  • Icon Support: No
  • Message Format: Text
  • Message Limit: 32768 Characters per message

Syntax

If you want to use your own custom Pushjecct server, then the following identify the syntax you may use:

  • pjet://{secret_key}@{host}
  • pjet://{secret_key}@{host}:{port}
  • pjets://{secret_key}@{host}
  • pjets://{secret_key}@{host}:{port}

However, if you're using the Pushjet official server (and not your own, then you only need to provide the secret key:

  • pjet:://{secret_key}

Parameter Breakdown

Variable Required Description
secret_key Yes The Secret Key associated with your Pushjet account.
host No The Pushjet server is only required if you're hosting your own notification server yourself (and not using https://pushjet.io/)
port No The Pushjet port optional and only required if you're hosting your own notification server. By default the port is 80 for pjet:// and 443 for all pjets:// references.

Example

Send a Pushjet notification:

# Assuming our {secret_key} is abcdefghijklmnopqrstuvwxyzabc
# Assuming our {hostname} is pushjet.server.local
notify pjet://[email protected]

# Alternatively if you're just using the pushjet.io server you might
# provide the following:
notify pjet://abcdefghijklmnopqrstuvwxyzabc
Clone this wiki locally