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

# Test an integration's connection (a SQL warehouse, Pendo, PostHog, Linear or Rocketlane)

> Connects to the warehouse (or to Pendo, PostHog, Linear or Rocketlane) with the stored credentials, from Statisfy's egress IPs, and reports whether it worked. success false with the reason when not; credentials are fixed in Statisfy's app.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/integrations/{key}/connection/test
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/{key}/connection/test:
    post:
      tags:
        - integrations
      summary: >-
        Test an integration's connection (a SQL warehouse, Pendo, PostHog,
        Linear or Rocketlane)
      description: >-
        Connects to the warehouse (or to Pendo, PostHog, Linear or Rocketlane)
        with the stored credentials, from Statisfy's egress IPs, and reports
        whether it worked. success false with the reason when not; credentials
        are fixed in Statisfy's app.
      operationId: integrations_test_connection
      parameters:
        - description: The integration key, such as snowflake or salesforce
          in: path
          name: key
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationConnectionTest'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    IntegrationConnectionTest:
      properties:
        error:
          anyOf:
            - type: string
            - type: 'null'
          description: Why it failed, when it did
          title: Error
        success:
          title: Success
          type: boolean
      required:
        - success
        - error
      title: IntegrationConnectionTest
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.