---
title: "GET Fetch dynamic options for a variable (requires active connection)"
description: "Retrieves dynamic options for a specific variable, which are often fetched from the integrated service using the connection's credentials. The connection must be active."
last_updated: "2026-05-06T07:33:49.279558+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/integration-variables/fetchvariableoptions"
---

<APIEndpoint
  method={"GET"}
  path={"/integrations/variables/connections/:connectionId/options/:variableId"}
  summary={"Fetch dynamic options for a variable (requires active connection)"}
  description={"Retrieves dynamic options for a specific variable, which are often fetched from the integrated service using the connection's credentials. The connection must be active."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

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

## Responses

<APIResponse
  statusCode={"200"}
  description={"Successful retrieval of dynamic variable options."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad Request - Connection must be active or no valid credentials found."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

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

<APIResponse
  statusCode={"500"}
  description={"Internal Server Error - Failed to fetch options."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"GET"}
  path={"/integrations/variables/connections/:connectionId/options/:variableId"}
  parameters={[{"name":"connectionId","in":"path","required":true,"description":"The ID of the connection.","schema":{"type":"string"}},{"name":"variableId","in":"path","required":true,"description":"The ID of the variable for which to fetch options.","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.
