> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.arb.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# Create new VAPID key pair

> Generates a new VAPID key pair and stores it encrypted in the database using Cloud KMS. VAPID keys are required for web push authentication. Requires `push.keys.creator` permission.



## OpenAPI

````yaml api-reference/push.yaml post /vapid-keys/create
openapi: 3.0.3
info:
  title: push
  description: >-
    The Push service keeps track of which user browsers have signed up to
    receive notifications and how to reach them using VAPID. Other services tell
    it when a notification should be sent, and it delivers that message directly
    to the user's browser.
  version: 1.0.0
servers:
  - url: https://push.platform.arb.inc
security: []
tags:
  - name: /
  - name: demo
  - name: internal
  - name: vapid-keys
  - name: web-push
paths:
  /vapid-keys/create:
    post:
      tags:
        - vapid-keys
      summary: Create new VAPID key pair
      description: >-
        Generates a new VAPID key pair and stores it encrypted in the database
        using Cloud KMS. VAPID keys are required for web push authentication.
        Requires `push.keys.creator` permission.
      operationId: createVapidKey
      responses:
        '200':
          description: VAPID key created successfully
          content:
            text/plain:
              schema:
                type: string
                example: Vapid key created successfully
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````