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

# Get invitation details (public)

> Get invitation details by token. No authentication required.



## OpenAPI

````yaml /openapi.json get /v1/invitations/{token}/details
openapi: 3.0.3
info:
  title: Emailr API
  version: 1.0.0
servers:
  - url: https://api.emailr.dev
    description: Production
security: []
tags:
  - name: emails
    description: Email sending and management
  - name: contacts
    description: Contact management
  - name: templates
    description: Email template management
  - name: domains
    description: Domain verification and management
  - name: webhooks
    description: Webhook configuration
  - name: broadcasts
    description: Broadcast campaign management
  - name: segments
    description: Contact segmentation
paths:
  /v1/invitations/{token}/details:
    get:
      tags:
        - invitations
      summary: Get invitation details (public)
      description: Get invitation details by token. No authentication required.
      operationId: getInvitationDetails
      parameters:
        - schema:
            type: string
            minLength: 32
            description: Invitation token from the invite link
            example: abc123def456ghi789jkl012mno345pqr
          required: true
          name: token
          in: path
      responses:
        '200':
          description: Invitation details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvitationDetails'
        '404':
          description: Invitation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    InvitationDetails:
      type: object
      properties:
        organization_name:
          type: string
          description: Name of the organization
          example: Acme Inc.
        inviter_name:
          type: string
          nullable: true
          description: Full name of the person who sent the invitation
          example: John Doe
        inviter_email:
          type: string
          format: email
          description: Email of the person who sent the invitation
          example: john@example.com
        role:
          allOf:
            - $ref: '#/components/schemas/InvitationRole'
            - description: Role being offered
              example: member
        email:
          type: string
          format: email
          description: Email address the invitation was sent to
          example: colleague@example.com
        is_expired:
          type: boolean
          description: Whether the invitation has expired
          example: false
        expires_at:
          type: string
          format: date-time
          description: When the invitation expires
          example: '2024-02-01T00:00:00Z'
      required:
        - organization_name
        - inviter_name
        - inviter_email
        - role
        - email
        - is_expired
        - expires_at
    Error:
      type: object
      properties:
        error:
          type: string
          example: An error occurred
        code:
          type: string
          example: VALIDATION_ERROR
        details: {}
      required:
        - error
    InvitationRole:
      type: string
      enum:
        - member
        - admin

````