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

# Get activation context for a token

> Read-only: tells the caller which UI to render (password form vs magic-link) without consuming the token.



## OpenAPI

````yaml /openapi.json get /v1/auth/activate
openapi: 3.0.0
info:
  title: Kerne API
  description: >-
    Kerne SaaS Foundation as a Service - authentication, authorization, and
    billing management. Errors follow standardized error codes (K1xxx-K9xxx)
    documented at https://docs.kerne.io/errors
  version: 1.0.0
  contact:
    name: Kerne Team
    url: https://kerne.io
    email: support@kerne.io
  license:
    name: Proprietary
    url: https://kerne.io/license
servers:
  - url: https://api.kerne.io
    description: Production Server
security: []
tags:
  - name: Auth
    description: Authentication endpoints
  - name: Waitlist
    description: Waitlist management
  - name: Invitations
    description: Invitation system
  - name: Billing
    description: 'The tenant''s end users: subscription, entitlements, usage, checkout'
  - name: Pricing
    description: Public pricing page data
paths:
  /v1/auth/activate:
    get:
      tags:
        - Auth
      summary: Get activation context for a token
      description: >-
        Read-only: tells the caller which UI to render (password form vs
        magic-link) without consuming the token.
      operationId: AuthController_getActivationContext
      parameters:
        - name: token
          required: true
          in: query
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivationContextResponseDto'
      security:
        - AppIdentifier: []
components:
  schemas:
    ActivationContextResponseDto:
      type: object
      properties:
        email:
          type: string
          example: user@example.com
        mode:
          type: string
          enum:
            - credentials
            - magic-link
          description: >-
            Which sign-in mode the tenant currently has active - decides what UI
            to render
      required:
        - email
        - mode
  securitySchemes:
    AppIdentifier:
      type: apiKey
      in: header
      name: x-app-id
      description: App identifier (App.id, sent as the x-app-id header)

````