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

# Get public info for a pending invitation by token

> Used by the webapp to pre-fill the sign-in form when arriving via a magic link, before the user authenticates. The raw token itself authorises this read-only lookup; the accept mutation still requires authentication. Returns 404 for tokens that are unknown, already used, or expired. Public endpoint — no authentication required.



## OpenAPI

````yaml /api-reference/organizations-openapi.json get /organizations/invitations/{token}
openapi: 3.0.0
info:
  title: Nevermined Organizations API
  description: >-
    Manage a Nevermined organization programmatically — members, tiers, groups &
    budgets, treasury wallets, customers, webhooks, analytics, and
    agent-discovery surfaces.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.sandbox.nevermined.app/api/v1
    description: Sandbox
  - url: https://api.live.nevermined.app/api/v1
    description: Live
security: []
tags:
  - name: Organizations
    x-group: General
    description: Organization settings, members & roles, and workspace context.
  - name: Organizations - Billing
    x-group: Billing
    description: Tiers, subscriptions, invoices, checkout, and the public tier catalog.
  - name: Groups
    x-group: Groups & Budgets
    description: Organization groups, per-group budgets, and shared payment methods.
  - name: Organizations - Wallets
    x-group: Wallets
    description: Custodial stablecoin treasury wallets.
  - name: Organizations - Customers
    x-group: Customers
    description: The white-label customer CRM (Enterprise).
  - name: Organizations - Analytics
    x-group: Analytics
    description: Revenue, MRR, usage, conversion, and per-member metrics.
  - name: Organizations - Webhooks
    x-group: Webhooks
    description: Outbound webhook subscriptions and deliveries.
  - name: Organizations - Activity
    x-group: Activity
    description: The organization activity feed.
  - name: Organizations - Realtime
    x-group: Realtime
    description: Realtime WebSocket secret management (Enterprise).
  - name: Invitations
    x-group: Invitations
    description: Invite people to an organization.
  - name: Organizations - Integration
    x-group: Agent Discovery
    description: >-
      Public agent-discovery surfaces (llms.txt, agentic-instructions.md,
      ai-catalog.json).
paths:
  /organizations/invitations/{token}:
    get:
      tags:
        - Invitations
      summary: Get public info for a pending invitation by token
      description: >-
        Used by the webapp to pre-fill the sign-in form when arriving via a
        magic link, before the user authenticates. The raw token itself
        authorises this read-only lookup; the accept mutation still requires
        authentication. Returns 404 for tokens that are unknown, already used,
        or expired. Public endpoint — no authentication required.
      operationId: OrganizationInvitationsController_getInvitationInfo
      parameters:
        - name: token
          required: true
          in: path
          description: Raw token from the magic-link URL
          schema:
            example: a1b2c3d4e5f6a1b2c3d4e5f6
            type: string
      responses:
        '200':
          description: Invitation info
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicInvitationInfoDto'
        '404':
          description: Token invalid, already used, or expired
components:
  schemas:
    PublicInvitationInfoDto:
      type: object
      properties:
        email:
          type: string
          example: colleague@example.com
        name:
          type: string
          example: Jane Doe
          nullable: true
        orgId:
          type: string
          description: Organization ID
        organizationName:
          type: string
          description: Organization display name
        role:
          type: string
          enum:
            - Admin
            - Member
        status:
          type: string
          enum:
            - pending
            - accepted
            - revoked
            - expired
        expiresAt:
          format: date-time
          type: string
      required:
        - email
        - orgId
        - organizationName
        - role
        - status
        - expiresAt

````

## Related topics

- [Revoke an invitation](/docs/api-reference/invitations/revoke-an-invitation.md)
- [Accept an organization invitation](/docs/api-reference/invitations/accept-an-organization-invitation.md)
- [List organization invitations](/docs/api-reference/invitations/list-organization-invitations.md)
- [API error codes](/docs/development-guide/api-errors/codes.md)
- [Workspaces & Members](/docs/solutions/organizations/workspaces-and-members.md)
