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

# Validate bearer token

> Validate the current bearer token and confirm that the API key can access protected endpoints.



## OpenAPI

````yaml /api-reference/openapi.json get /
openapi: 3.1.0
info:
  title: Osintly API
  version: 1.0.0
  description: OpenAPI specification for the Osintly API service.
  contact:
    name: Osintly
    url: https://docs.osint.ly/api-reference/quick-start
servers:
  - url: https://api.osint.ly
    description: Production
security: []
tags:
  - name: System
    description: Health and service checks
  - name: Auth
    description: Authorization validation
  - name: Search
    description: Create, monitor and retrieve search results
  - name: Usage
    description: Rate limit and usage information
  - name: Radar
    description: Breach intelligence endpoints (free with API key)
  - name: Webhooks
    description: Webhook callback payloads configured from search creation
paths:
  /:
    get:
      tags:
        - Auth
      summary: Validate bearer token
      description: >-
        Validate the current bearer token and confirm that the API key can
        access protected endpoints.
      operationId: validateAuthorization
      responses:
        '200':
          description: Authorization valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthValidationResponse'
              examples:
                ok:
                  value:
                    message: Authorization Valid
                    help: https://docs.osint.ly/api-reference/quick-start
        '401':
          $ref: '#/components/responses/UnauthorizedError'
      security:
        - bearerAuth: []
components:
  schemas:
    AuthValidationResponse:
      type: object
      required:
        - message
        - help
      properties:
        message:
          type: string
        help:
          type: string
          format: uri
    BasicErrorResponse:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
      additionalProperties: true
  responses:
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BasicErrorResponse'
          examples:
            unauthorized:
              value:
                success: false
                message: Unauthorized
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````