Skip to main content
GET
/
v1
/
businesses
/
{businessId}
/
assets
/
{assetId}
Get Asset
curl --request GET \
  --url https://api.example.com/v1/businesses/{businessId}/assets/{assetId}
{
  "cdnUri": "<string>"
}
Look up the CDN URL for an asset you previously uploaded via Create asset. Use the returned cdnUri to reference the asset in templates, campaigns, and messages.

Endpoint

GET https://api.connectly.ai/v1/businesses/{businessId}/assets/{assetId}
Rate limit: 100 requests/second. Exceeding this returns 429 Too Many Requests.

Path parameters

businessId
string
required
Your Connectly business ID (UUID format).
assetId
string
required
The ID of the asset to retrieve — either the UUID Connectly generated or the custom ID you provided at upload time.

Response

cdnUri
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.

Example

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

Error responses

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