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

# Register an SDK session

> Called internally by the Authmatech mobile SDK after a successful Header Enrichment call. Stores hashed device context linked to the authmatechCode. IP address is extracted server-side — never accepted from the request body.



## OpenAPI

````yaml /openapi.json post /v1/api/sdk/session
openapi: 3.1.0
info:
  title: Authmatech API
  description: API Documentation
  version: '1.0'
servers:
  - url: http://service.authmatech.com
    description: Generated server url
security:
  - ApiKey: []
paths:
  /v1/api/sdk/session:
    post:
      tags:
        - Authmatech SDK — Session Registration
      summary: Register an SDK session
      description: >-
        Called internally by the Authmatech mobile SDK after a successful Header
        Enrichment call. Stores hashed device context linked to the
        authmatechCode. IP address is extracted server-side — never accepted
        from the request body.
      operationId: registerSession
      parameters:
        - name: X-CLIENT-ID
          in: header
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterSdkSessionBody'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Response'
components:
  schemas:
    RegisterSdkSessionBody:
      type: object
      properties:
        sdkSessionId:
          type: string
        mnoId:
          type: string
        authmatechCodePresent:
          type: boolean
        authmatechCodeHash:
          type: string
        deviceContext:
          $ref: '#/components/schemas/DeviceContextBody'
    Response:
      type: object
    DeviceContextBody:
      type: object
      properties:
        deviceIdHash:
          type: string
        installationIdHash:
          type: string
        platform:
          type: string
        osVersion:
          type: string
        appVersion:
          type: string
        deviceModel:
          type: string
        manufacturer:
          type: string
        sdkVersion:
          type: string
        userAgent:
          type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: X-API-KEY
      in: header

````