1. Home
  2. Docs
  3. Integrations
  4. OnPage Integrations
  5. Webhooks

Webhooks

This integration uses OnPage’s Incoming Webhooks. This is a common integration path with OnPage and many other services will support this method as well. To get started, you have to access OnPage’s Webhook Console and register a Client ID and Secret Key. These are then used to authenticate the requests being sent to OnPage. Please keep these values secure as if they were a password. Although they do not allow Read access to OnPage, anyone with these keys can create Pages within your environment.

Navigate to https://integrations.onpage.com/#/integration/web-hook and login with your nps.onpage.com credentials.

Here you will see all of your currently configured Webhooks and the ability to suspend or remove them.

Click on the Create Button

Image

Give a Webhook name (i.e., New Relic ONE integration)

Copy the Secret Key and Client ID and store it in a secure place. The Secret Key is only shown once.

Image

You can send an HTTP payload to https://webhook.onpage.com/gw/v1/page with the following body:

{
  "clientId": "{{Client Id}}",
  "secretKey": "{{Secret}}",
  "message": {
    "subject": "This is message subject",
    "body": "This is message body",
    "recipients": [
      "string"
    ],
    "from": "[email protected]",
    "priority": "HIGH"
  }
}