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

# Accept Invitation

> Accept an invitation as a signed-in, verified Korve viewer identity. This identity is separate from customer app-auth.



## OpenAPI

````yaml /openapi.json post /v1/projects/{projectId}/access/invitations/accept
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/projects/{projectId}/access/invitations/accept:
    post:
      tags:
        - appAccess
      summary: Accept Invitation
      description: >-
        Accept an invitation as a signed-in, verified Korve viewer identity.
        This identity is separate from customer app-auth.
      operationId: appAccess.acceptInvitation
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The project's id (UUID) or slug — either form is accepted.
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                token:
                  type: string
                  minLength: 32
                  maxLength: 512
              required:
                - token
      responses:
        '200':
          description: Access grant plus the server-derived managed application URL.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  grant:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      viewerUserId:
                        type: string
                      email:
                        type: string
                        format: email
                      invitationId:
                        type:
                          - string
                          - 'null'
                        format: uuid
                      revokedAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                      createdAt:
                        type: string
                        format: date-time
                    required:
                      - id
                      - viewerUserId
                      - email
                      - invitationId
                      - revokedAt
                      - createdAt
                  appUrl:
                    type: string
                    format: uri
                    description: >-
                      Server-derived managed application URL. Custom and
                      infrastructure origins are never returned.
                required:
                  - grant
                  - appUrl
        '403':
          description: Invitation does not match this verified identity.
        '404':
          description: Invitation is invalid, expired, or revoked.
        '409':
          description: Invitation was already accepted.
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````