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

# Store a Signal Pixel bot score

> Stores a behavioral fingerprint score server-side and returns an opaque signal_token (bs_sig_...). The client-side score can be spoofed — the signal_token maps to the real score in BotShield's database.



## OpenAPI

````yaml /openapi-sdk-a.json post /sdk/store-signal
openapi: 3.1.0
info:
  title: BotShield SDK A API
  version: 2.0.0
  description: >-
    BotShield SDK A -- Signal-only human presence verification. Momentary
    presence check with no persistence.
  contact:
    name: BotShield Support
    email: support@botshield.ai
    url: https://botshield.ai
servers:
  - url: https://api.botshield.ai/operations
    description: BotShield API
security: []
tags:
  - name: SDK
    description: >-
      Core SDK operations — session management, verification, token validation,
      and Signal Pixel scoring
  - name: Signal Pixel
    description: >-
      BotShield Signal Pixel — passive behavioral fingerprinting with
      tamper-proof server-side scoring
  - name: Verification
    description: Verification status checking and user lookup
paths:
  /sdk/store-signal:
    post:
      tags:
        - SDK
        - Signal Pixel
      summary: Store a Signal Pixel bot score
      description: >-
        Stores a behavioral fingerprint score server-side and returns an opaque
        signal_token (bs_sig_...). The client-side score can be spoofed — the
        signal_token maps to the real score in BotShield's database.
      operationId: SdkStoreSignal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - site_key
                - score
              properties:
                site_key:
                  type: string
                score:
                  type: integer
                  minimum: 0
                  maximum: 100
                edge_score:
                  type: integer
                  minimum: 0
                  maximum: 100
                client_score:
                  type: integer
                  minimum: 0
                  maximum: 100
                fp_hash:
                  type: string
                ip_hash:
                  type: string
                ua_hash:
                  type: string
                country:
                  type: string
                signals:
                  type: object
      responses:
        '200':
          description: Signal stored
          content:
            application/json:
              schema:
                type: object
                properties:
                  signal_token:
                    type: string
                    description: Opaque tamper-proof token (bs_sig_...)
                  expires_at:
                    type: string
                    format: date-time
        '400':
          $ref: '#/components/responses/BadRequest'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - ApiKeyAuth: []
components:
  responses:
    BadRequest:
      description: Invalid input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InvalidInputError'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    InvalidInputError:
      type: object
      required:
        - message
        - input
        - errors
      properties:
        message:
          type: string
          example: Invalid input provided
        input:
          type: object
          additionalProperties: true
        errors:
          type: array
          items:
            type: object
            required:
              - propertyPath
              - invalidValue
              - message
            properties:
              propertyPath:
                type: string
              invalidValue:
                description: The invalid value
              message:
                type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - statusCode
          properties:
            message:
              type: string
            statusCode:
              type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        API key with Bearer prefix (e.g., 'Bearer bs_live_sk_...' or 'Bearer
        pk_live_...')

````