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

# Get invitation details

> Look up an invitation by ID. Always 200 -- an unusable invitation is reported with valid: false and a reason rather than an error status.



## OpenAPI

````yaml /openapi.json get /invitation/{id}
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /invitation/{id}:
    get:
      tags:
        - Invitations
      summary: Get invitation details
      description: >-
        Look up an invitation by ID. Always 200 -- an unusable invitation is
        reported with valid: false and a reason rather than an error status.
      operationId: getInvitationDetails
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Invitation details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvitationDetails'
        '401':
          description: Missing or invalid credentials
components:
  schemas:
    InvitationDetails:
      type: object
      properties:
        valid:
          type: boolean
          description: True only when the invitation can still be accepted.
        invitation:
          type: object
          properties:
            id:
              type: string
            email:
              type: string
            workspaceName:
              type: string
            inviterName:
              type: string
            expiresAt:
              type: string
              format: date-time
            status:
              type: string
            expired:
              type: boolean
          required:
            - id
            - email
            - workspaceName
            - inviterName
            - expiresAt
            - status
            - expired
          description: >-
            Omitted when the invitation does not exist, was already accepted, or
            was canceled -- the details are withheld rather than leaked.
        error:
          type: string
          description: Why the invitation is unusable, when valid is false.
      required:
        - valid
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````