Skip to main content
POST
Upsert Website Keys

Authorizations

X-Authorization-Api-Key
string
header
default:""
required

Path Parameters

id
string
required

Site ID

Body

application/json
pub
string
required

Public ID (either VAPID ID or FCM ID)

priv
string
required

Private key attached to the public id

primary
string
required

1 = primary, 0 = regular

type
string
required

Must use either "gcm" or "vapid" (without quotes)

Response

200