---
title: "POST Create a new connection with API key credentials"
description: "Create a new connection with API key credentials"
last_updated: "2026-05-06T07:33:47.633677+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/connections/createconnection"
---

<APIEndpoint
  method={"POST"}
  path={"/integrations/connections"}
  summary={"Create a new connection with API key credentials"}
  description={"Create a new connection with API key credentials"}
  deprecated={false}
  baseUrl={""}
/>

## Request Body

Connection creation data

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"201"}
  description={"The created connection"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad request (e.g., provider not found, OAuth provider, validation failed)"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

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

## Try It

<APIPlayground
  method={"POST"}
  path={"/integrations/connections"}
  parameters={[]}
  requestBody={{"contentType":"application/json","required":true,"description":"Connection creation data","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

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