---
title: "Get Required Variables"
method: GET
path: "/api/v1/campaigns/{campaign_id}/variables"
tags: ["Campaigns"]
---

# Get Required Variables

`GET /api/v1/campaigns/{campaign_id}/variables`

If successful returns a json with the input variables for the campaign.

## Path parameters

- `campaign_id` string, required — The ID of the campaign to get the variables from.

## Query parameters

- `view` 'basic' | 'full'

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-26** `465e175d4bd7` — 1 info
  - added the new optional `query` request parameter `view`

[Change history](https://skmtc.dev/getprosperapp/apis/prosper-voice/changes/api/v1/campaigns/:campaign_id/variables/get.md)

---

[API](https://skmtc.dev/getprosperapp/apis/prosper-voice.md) · [All operations](https://skmtc.dev/getprosperapp/apis/prosper-voice/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getprosperapp/prosper-voice/revisions/1a91aac903bf/schema)
