---
title: "Dimension-to-ESP field mapping with Liquid template examples"
method: GET
path: "/{teamPid}/data/dimension-sync"
tags: ["Data"]
---

# Dimension-to-ESP field mapping with Liquid template examples

`GET /{teamPid}/data/dimension-sync`

## Request

- Base URL: `https://api.rightmessage.com/v1`
- URL: `https://api.rightmessage.com/v1/{teamPid}/data/dimension-sync`
- Auth: HTTP bearer

Requires an API token with the `read` or `write` ability. Tokens created without abilities have `*`, which grants every ability.

## Path parameters

- `teamPid` string, required

## Response `200`

- object
  - `data` object[], required
    - `dimensionId` string, required
    - `Name` string, required
    - `fieldName` string, required
    - `syncTo` string, required
    - `questionText` string, required
    - `segments` object[], required
      - `segmentId` string, required
      - `name` string, required
      - `fieldValue` string, nullable, required
    - `hasOtherOption` boolean, required
    - `otherFieldName` string, nullable, required

## Other responses

- `401`: Missing, invalid or revoked API token.
- `404`: Not found
- `429`: Rate limit exceeded: 120 requests per minute for project endpoints, 60 per minute for token and connection endpoints. Retry after the `Retry-After` seconds.

---

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