---
title: "Get Target Creation Property Values"
method: GET
path: "/api/connections/{id}/modelsync/targetobjects/properties/{property}"
tags: ["Model Sync"]
---

# Get Target Creation Property Values

`GET /api/connections/{id}/modelsync/targetobjects/properties/{property}`

Returns the valid values for a target-creation property on a connection that supports creating new target objects.

Connections which support creating new sync target objects (destinations) will
return `target_creation` with their [target object list](../../../../../../../api-reference/model-sync/targets/list). This endpoint
will return possible values for properties where `enum` is `true`.

If the connection does not support creating new target objects, an HTTP 404 will
be returned.

The `values` array lists the valid options (and labels) for the property. Each
member of the `values` array has a `label` and `value`. For exaample,

```json
{
  "data": [
    {
      "id": "account",
      "title": "Account ID",
      "enum": true,
      "values": [
        {
          "value": "1234567::urn:li:organization:987654",
          "label": "Polytomic Inc. (1234567)"
        }
      ]
    }
  ]
}
```

The `value` for the selected option should be passed when [creating a
sync](../../../../../../../api-reference/model-sync/create).

## Path parameters

- `id` string, uuid, required
- `property` string, required

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- TargetPropertyValuesEnvelope
  - `data` TargetPropertyValues
    - `enum` boolean — True if the property is an enum.
    - `id` string — The identifier of the target property.
    - `title` string — A human readable title for the target property.
    - `values` UtilEnumValue[] — Valid values for the target property.
      - `label` string, nullable
      - `value` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.net/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/revisions/5e9bcd4cfb2d/schema)
