> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connectly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Asset

> Retrieve the CDN URL for a previously uploaded asset by its ID 🪪

Look up the CDN URL for an asset you previously uploaded via [Create asset](/assets/create-asset). Use the returned `cdnUri` to reference the asset in templates, campaigns, and messages.

## Endpoint

```json theme={null}
GET https://api.connectly.ai/v1/businesses/{businessId}/assets/{assetId}
```

**Rate limit:** 100 requests/second. Exceeding this returns `429 Too Many Requests`.

## Path parameters

<ParamField path="businessId" type="string" required>
  Your Connectly business ID (UUID format).
</ParamField>

<ParamField path="assetId" type="string" required>
  The ID of the asset to retrieve — either the UUID Connectly generated or the custom ID you provided at upload time.
</ParamField>

## Response

<ResponseField name="cdnUri" type="string">
  The Connectly CDN URL where the asset is hosted (e.g. `https://cdn.connectly.ai/assets/6ba7b810-9dad-11d1-80b4-00c04fd430c8`). Use this URL when embedding media in templates or messages.
</ResponseField>

## Example

```bash theme={null}
curl -X GET "https://api.connectly.ai/v1/businesses/{businessId}/assets/6ba7b810-9dad-11d1-80b4-00c04fd430c8" \
  -H "X-API-Key: YOUR_API_KEY"
```

```json theme={null}
{
  "cdnUri": "https://cdn.connectly.ai/assets/6ba7b810-9dad-11d1-80b4-00c04fd430c8"
}
```

## Error responses

| Status | Meaning                               |
| ------ | ------------------------------------- |
| `400`  | Invalid `assetId` format.             |
| `401`  | Missing or invalid `X-API-Key`.       |
| `404`  | No asset found with the specified ID. |
| `429`  | Rate limit exceeded (100 req/s).      |
