How to correctly setup a Web Push integration

Web Push is a technology that allows you to send notifications to your users' devices even when they are not on your website. It is a powerful tool to engage your users and bring them back to your website.

Apple logo
PUT
/integrations/web_push
Schema Type: "object"
Required Fields:
public_keyprivate_key

Properties

public_key "string"
required

VAPID public key - generate one at https://tools.reactpwa.com/vapid.

private_key "string"
required

VAPID private key - from the pair you generated.

Example Request

{
  "public_key": "BNKZeSrRX_c3QfqzOvv1oshpj1qPbDcUJHKET6Ahs2u9-F4HgllPYxtgaGvGSqfytuALumX5NYZPLD8YmCwBxcw",
  "private_key": "y56TIPdEzrQ0Ku_uQbGGkB84mYdF9pJl5IHvmAZ_fVs"
}