---
title: "Get Contact Variables"
method: GET
path: "/v1/contacts/{contact_id}/variables"
tags: ["contacts"]
---

# Get Contact Variables

`GET /v1/contacts/{contact_id}/variables`

## Request

- Base URL: `https://api.topo.io`
- URL: `https://api.topo.io/v1/contacts/{contact_id}/variables`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/topo/apis/topo-public-api/docs/v1/contacts/:contact_id/variables/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the custom variables stored on a contact and its account.

Requires the `contacts:read` scope on the API key.

## Path parameters

- `contact_id` string, uuid, required

## Response `200`

Successful Response

- PublicContactVariablesOutput
  - `contact_variables` object, required: Custom variables stored on the contact for this workspace.
  - `account_variables` object, required: Custom variables stored on the contact's account for this workspace. Also manageable through the Account variables endpoints.

## Changes

- **2026-08-07** `6e9ca9d5acac`: 1 breaking, 1 info
  - removed the required property `company_variables` from the response with the `200` status
  - added the required property `account_variables` to the response with the `200` status

[Operation history](https://skmtc.dev/topo/apis/topo-public-api/changes/v1/contacts/:contact_id/variables/get.md)

---

[API](https://skmtc.dev/topo/apis/topo-public-api.md) - [All operations](https://skmtc.dev/topo/apis/topo-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/topo/apis/topo-public-api/revisions/1eb3139a398e?raw)
