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

# Verify Solana Authentication

> Complete Solana wallet authentication by verifying signed message and receive JWT token for session access



## OpenAPI

````yaml /openapi/alerts.json post /v2/auth/solana/verify
openapi: 3.1.0
info:
  title: Dialect Alerts V2 API
  description: >-
    Notification infrastructure for real-time alert delivery through multiple
    channels including in-app notifications, email, push notifications, and
    Telegram.
  version: 2.2.0-beta
servers:
  - url: https://alerts-api.dial.to
    description: Dialect Production
  - url: https://alerts.dialectapi.to
    description: Dialect Production
security: []
paths:
  /v2/auth/solana/verify:
    post:
      tags:
        - Integrate an Inbox
      summary: Verify Solana Authentication
      description: >-
        Complete Solana wallet authentication by verifying signed message and
        receive JWT token for session access
      operationId: verifySolanaAuth
      parameters:
        - name: X-Dialect-Client-Key
          in: header
          schema:
            type: string
            description: Client Key used to uniquely identify the client
            example: dk_gyh2eqzfkc4mhp5eiahnndkz
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                message:
                  type: string
                  description: Message signed by the user, provided by /prepare endpoint
                  example: 'Sign this message to authenticate. Nonce: 1638471298347'
                signature:
                  type: string
                  description: Base58-encoded signature of the message
                  example: 2VYoXjcwKE...
              required:
                - message
                - signature
      responses:
        '200':
          description: Authentication successful, JWT token returned
          content:
            application/json:
              schema:
                type: object
                properties:
                  token:
                    type: string
                    minLength: 1
                  subscriber:
                    type: object
                    properties:
                      walletAddress:
                        type: string
                        description: User wallet address
                        example: 6CxnSjtasq5Tzwb4b93AhLofXtiDvMpQ2vTkWdSZqTH7
                    required:
                      - walletAddress
                required:
                  - token
                  - subscriber
        '400':
          description: Request validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                required:
                  - error
        '401':
          description: Unauthorized

````