# Retrieve contact property

`opensend.contactProperties.get(id)`

One property with its type and its fallback.

Needs the scope: `audiences:read`

## Input

`id` goes first, on its own, and the rest in one object. One object that holds `id` works too.

- `id` (string, required): The id of the item. Up to 64 characters.

## Returns

The call resolves to the answer, already parsed. A call the API refuses throws `OpenSendError` with the code and the message of the answer. [SDK](https://opensend.sh/docs/sdk) lists the errors of the client itself.

- `object` ("contact_property"): Always `contact_property`.
- `id` (string): The id of the property.
- `key` (string): The name contacts hold a value under, and the name of its `{{slot}}`.
- `type` (string): What its values are: `string`, `number` or `boolean`. One of: `string`, `number`, `boolean`.
- `fallback` (string | number | boolean | null): What fills its slot for a contact with no value, or `null`.
- `createdAt` (string): When the property was made.

## Example

TypeScript:

```ts
await opensend.contactProperties.get('prop_plan')
```

CLI:

```bash
opensend contact-properties get prop_plan
```

Answer:

```json
{
  "object": "contact_property",
  "id": "prop_plan",
  "key": "plan",
  "type": "string",
  "fallback": "free",
  "createdAt": "2026-11-27T09:30:00.000Z"
}
```
