latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

web_push
channel/web_push

Save a Web Push integration

Updates or creates the Web Push integration for the project.

put/integrations/web_push

Request body

private_keystring required

VAPID private key.

public_keystring required

VAPID public key - read more at https://magicbell.com/tools/vapid-keys.

Example request

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

Response

OK

private_keystring required

VAPID private key.

public_keystring required

VAPID public key - read more at https://magicbell.com/tools/vapid-keys.

Example response

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