---
title: "POST Test a connection's credentials"
description: "Test a connection's credentials"
last_updated: "2026-05-06T07:33:47.685798+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/connections/testconnection"
---

<APIEndpoint
  method={"POST"}
  path={"/integrations/connections/:id/test"}
  summary={"Test a connection's credentials"}
  description={"Test a connection's credentials"}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"id","in":"path","required":true,"description":"The ID of the connection","schema":{"type":"string"}}]} />

## Responses

<APIResponse
  statusCode={"200"}
  description={"Connection test result"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad request (e.g., no credentials found)"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"404"}
  description={"Provider not found for connection"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/integrations/connections/:id/test"}
  parameters={[{"name":"id","in":"path","required":true,"description":"The ID of the connection","schema":{"type":"string"}}]}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
