Docs › API Reference › Notification Service › GET /push/vapid-public-key
GET /push/vapid-public-key
Return the Web Push VAPID public key for the frontend to use when registering a push subscription. Reference: CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance.
Notification Service None application/json
Referenced Schemas
dto.VapidPublicKeyDetailResponse
Field Type Required Example Constraints Description
code
integer
No
data
dto.VapidPublicKeyResponse
No
message
string
No
timestamp
string
No
dto.VapidPublicKeyResponse
Web Push VAPID public key, used by the frontend when registering a push subscription
Field Type Required Example Constraints Description
public_key
string
No
BEL5Oa...
VAPID public key
gitee_com_linmes_authms_base_dto.SimpleResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
timestamp
string
No