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

# Get Invitation Details

> Resolve an invite token to org name and role.

No authentication required — used by the frontend to preview
what organization/role an invite link grants.



## OpenAPI

````yaml post /invitations/details
openapi: 3.1.0
info:
  title: Flow API
  description: Content-addressing backend with Git-like versioning
  version: 1.0.0
servers:
  - url: https://api.yertle.com
    description: Production
security: []
paths:
  /invitations/details:
    post:
      tags:
        - organizations
      summary: Get Invitation Details
      description: |-
        Resolve an invite token to org name and role.

        No authentication required — used by the frontend to preview
        what organization/role an invite link grants.
      operationId: get_invitation_details_invitations_details_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TokenRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InviteLinkDetailsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TokenRequest:
      properties:
        token:
          type: string
          title: Token
          description: Invite link token
      type: object
      required:
        - token
      title: TokenRequest
      description: Request model for invite token operations.
    InviteLinkDetailsResponse:
      properties:
        organization_name:
          type: string
          title: Organization Name
          description: Organization name
        role:
          type: string
          enum:
            - viewer
            - editor
          title: Role
          description: Role granted by this link
      type: object
      required:
        - organization_name
        - role
      title: InviteLinkDetailsResponse
      description: Response for POST /invitations/details.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````