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

# Preview organization invite



## OpenAPI

````yaml https://api.crosmos.dev/openapi.json get /api/v1/orgs/invites/preview
openapi: 3.1.0
info:
  title: Crosmos API
  version: 0.1.0
servers:
  - url: /
security: []
paths:
  /api/v1/orgs/invites/preview:
    get:
      tags:
        - organizations
      summary: Preview organization invite
      parameters:
        - schema:
            type: string
            minLength: 20
            maxLength: 128
          required: true
          name: token
          in: query
      responses:
        '200':
          description: Invite preview
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvitePreviewResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgErrorBody'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgErrorBody'
        '409':
          description: Invite already accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgErrorBody'
        '410':
          description: Invite expired
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgErrorBody'
      security:
        - bearerAuth: []
components:
  schemas:
    InvitePreviewResponse:
      type: object
      properties:
        org_name:
          type: string
        inviter_name:
          type: string
          nullable: true
        role:
          type: string
          enum:
            - admin
            - member
        email:
          type: string
          format: email
        expires_at:
          type: string
          format: date-time
      required:
        - org_name
        - inviter_name
        - role
        - email
        - expires_at
    OrgErrorBody:
      type: object
      properties:
        detail:
          type: string
      required:
        - detail
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT access token or API key (csk_...)

````