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

# Preview Invitation

> Preview an invitation by its raw token before accepting — returns the workspace name, inviter, and role. Public, no auth; 404 if the token is invalid or expired.



## OpenAPI

````yaml /openapi.json get /api/v1/invitations/{token}
openapi: 3.1.0
info:
  description: Change Impact Engine for multi-repo systems
  title: Riftmap
  version: 1.12.3
servers: []
security: []
paths:
  /api/v1/invitations/{token}:
    get:
      tags:
        - invitations
      summary: Preview Invitation
      description: >-
        Preview an invitation by its raw token before accepting — returns the
        workspace name, inviter, and role. Public, no auth; 404 if the token is
        invalid or expired.
      operationId: preview_invitation_api_v1_invitations__token__get
      parameters:
        - in: path
          name: token
          required: true
          schema:
            title: Token
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvitationPreviewResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    InvitationPreviewResponse:
      properties:
        inviter_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Inviter Name
        role:
          title: Role
          type: string
        workspace_name:
          title: Workspace Name
          type: string
      required:
        - workspace_name
        - inviter_name
        - role
      title: InvitationPreviewResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````