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

# Verify connection

> Validates the API key and returns the owning workspace. Call this first when debugging authentication issues.



## OpenAPI

````yaml /openapi.json get /records/verify
openapi: 3.1.0
info:
  title: Lane Public API
  version: 1.0.0
  description: >-
    Programmatic access to Lane — create customer feedback and read your
    signals. This is the same API that powers the Lane Zapier app and Chrome
    extension, and you can use it for any custom integration.


    All requests are scoped to the workspace that owns the API key. The Public
    API is available on the Pro and Business plans.
servers:
  - url: https://api.laneapp.co/api
    description: Production
security:
  - ApiKeyHeader: []
  - BearerAuth: []
tags:
  - name: Connection
    description: Test that your API key is valid.
  - name: Feedback
    description: Create customer feedback in Lane.
  - name: Signals
    description: Read the signals detected in your workspace.
paths:
  /records/verify:
    get:
      tags:
        - Connection
      summary: Verify connection
      description: >-
        Validates the API key and returns the owning workspace. Call this first
        when debugging authentication issues.
      responses:
        '200':
          description: API key is valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyResponse'
              example:
                success: true
                id: 65f0a1b2c3d4e5f6a7b8c9d0
                company_name: Acme Inc
                message: Zapier verification successful
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The workspace could not be resolved for this key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    VerifyResponse:
      type: object
      properties:
        success:
          type: boolean
        id:
          type: string
          description: The workspace (company) id.
        company_name:
          type: string
        message:
          type: string
    Error:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
        message:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Lane API key, sent in the `x-api-key` header.
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Your Lane API key, sent as `Authorization: Bearer <key>`.'

````