Assets
Create Asset
Upload a media file to Connectly’s CDN by providing a source URL. Returns a stable CDN URL for use in templates and messages 🎧
POST
Create Asset
Upload a media file to Connectly’s CDN by providing a publicly accessible source URL. Connectly fetches the file from your URL and stores it, returning a stable CDN URL you can reference in templates, campaigns, and messages.
Rate limit: 100 requests/second. Exceeding this returns
Endpoint
429 Too Many Requests.
Request body
Publicly accessible source URL of the file to upload. Must be reachable from Connectly’s servers — private or authenticated URLs will fail with a
400 error.Optional custom identifier for the asset. If omitted, Connectly generates a UUID automatically. Useful for associating assets with your own records (e.g. a product SKU or internal asset key).
Optional metadata to attach to the asset.
Response
Examples
Basic upload
Basic upload
Upload with a custom ID
Upload with a custom ID
Upload with access control
Upload with access control
Error responses
| Status | Meaning |
|---|---|
400 | Missing or invalid uri, or source URL unreachable by Connectly’s servers. |
401 | Missing or invalid X-API-Key. |
429 | Rate limit exceeded (100 req/s). |
