Push
Push Webhook
Learn how to use the Push Webhook provider to send notifications using Novu
Push Webhook provider is a bit different different from other push providers as it does not depend on other third party services. Users can use their own api url as webhook url and novu will make a post request on that webhook url.
Steps To Configure
- Go to integration store and click on
Add a provider
button. ChoosePush
channel and thenPush Webhook
provider. - Enter your Webhook URL. For quick testing use this website.
- Enter Secret Hmac Key. Novu will use this secret hmac key to encrypt the data using
HMAC SHA256
algorithm and send the hash as value ofx-novu-signature
header. User can usex-novu-signature
header to test authenticity of the request. Read more here - Click on the update button.
- Update the subscriber credentials using SDK or API. Read more here
Your webhook url should accept
POST
request.Set Device Token
This step is a mandatory step. Other push providers have third party dependencies where a device token can be generated. But in case of push webhook provider, there is no any way to generate device token. Any random string can be used as device token.
Checkout the API reference for more details.
Example paylod sent by novu to webhook url
Checking Authenticity
Was this page helpful?