---
title: "POST Save variable values for a connection"
description: "Saves the provided variable values for a specific connection. After saving, it attempts to auto-run checks associated with the connection."
last_updated: "2026-05-06T07:33:49.335979+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/integration-variables/saveconnectionvariables"
---

<APIEndpoint
  method={"POST"}
  path={"/integrations/variables/connections/:connectionId"}
  summary={"Save variable values for a connection"}
  description={"Saves the provided variable values for a specific connection. After saving, it attempts to auto-run checks associated with the connection."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

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

## Request Body

Body for saving connection variables.

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

## Responses

<APIResponse
  statusCode={"201"}
  description={"Variables saved successfully."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

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

## Try It

<APIPlayground
  method={"POST"}
  path={"/integrations/variables/connections/:connectionId"}
  parameters={[{"name":"connectionId","in":"path","required":true,"description":"The ID of the connection.","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Body for saving connection variables.","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.
