---
title: "Retrieve a destination"
method: GET
path: "/cdp/{connection_id}/destination/{id}"
tags: ["cdp", "destination"]
---

# Retrieve a destination

`GET /cdp/{connection_id}/destination/{id}`

## Request

- Base URL: `http://api.unified.to`
- URL: `http://api.unified.to/cdp/{connection_id}/destination/{id}`
- Auth: API key in header `authorization`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Response `200`

Successful

- CdpDestination
  - `id` string: Unique identifier for this destination object
  - `created_at` string, date-time: The date that this destination object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `updated_at` string, date-time: The last date that this destination object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
  - `name` string: The name of the outbound activation destination
  - `slug` string: A stable handle/key for the destination
  - `type` string: The connector/destination type (eg. the provider's connector slug or plugin id)
  - `direction` 'SOURCE' | 'DESTINATION' | 'BIDIRECTIONAL': DESTINATION, or BIDIRECTIONAL for import+export connectors
  - `is_enabled` boolean: Whether the destination is active/enabled
  - `metadata` CdpMetadata[]
    - `id` string
    - `slug` string: The attribute/trait key (eg. lifetime_value)
    - `value` unknown
    - `namespace` string: The scope or origin of the attribute (eg. computed, event, visitor)
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'ARRAY' | 'OBJECT': The data type of the attribute value
    - `extra_data` unknown
  - `raw` unknown

---

[API](https://skmtc.dev/unified/apis/unified-to-api-2.md) · [All operations](https://skmtc.dev/unified/apis/unified-to-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/unified/apis/unified-to-api-2/revisions/7a38bdd7f089?raw)
