> ## Documentation Index
> Fetch the complete documentation index at: https://jupiter-docs-beam-tx-jup-ag-submit.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Challenge

> Submit the signed challenge to receive a JWT token



## OpenAPI

````yaml openapi-spec/trigger/v2/trigger.yaml post /auth/verify
openapi: 3.0.0
info:
  title: Jupiter Trigger Order API V2
  version: 2.0.0
  description: >-
    Jupiter Trigger Order API V2 with vault-based deposits, JWT authentication,
    and advanced order types.
servers:
  - url: https://api.jup.ag/trigger/v2
    description: Jupiter Trigger Order API V2 Endpoint
security: []
paths:
  /auth/verify:
    post:
      summary: Verify signed challenge and receive JWT
      description: >
        Submit the signed challenge to receive a JWT token valid for 24 hours.

        Include the JWT in all subsequent authenticated requests via the
        `Authorization: Bearer` header.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  title: MessageVerification
                  properties:
                    type:
                      type: string
                      enum:
                        - message
                    walletPubkey:
                      type: string
                    signature:
                      type: string
                      description: Base58-encoded signature
                  required:
                    - type
                    - walletPubkey
                    - signature
                - type: object
                  title: TransactionVerification
                  properties:
                    type:
                      type: string
                      enum:
                        - transaction
                    walletPubkey:
                      type: string
                    signedTransaction:
                      type: string
                      description: Base64-encoded signed transaction
                  required:
                    - type
                    - walletPubkey
                    - signedTransaction
            example:
              type: message
              walletPubkey: BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV
              signature: 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d...
      responses:
        '200':
          description: JWT token
          content:
            application/json:
              schema:
                type: object
                properties:
                  token:
                    type: string
                    description: JWT token (24h TTL)
                required:
                  - token
              example:
                token: eyJhbGciOiJIUzI1NiIs...
        '400':
          description: Invalid request body or expired challenge
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid signature
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: object
          additionalProperties:
            type: string
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Get API key via https://developers.jup.ag/portal

````