# Assets API

## Asset Service API

### Authentication

All Asset API endpoints require authentication via API key in the request header:

```
X-API-Key: your-api-key
```

### Base URL

```
https://api.connectly.ai
```

### Available Endpoints

| Method | Endpoint                                       | Description                  |
| ------ | ---------------------------------------------- | ---------------------------- |
| POST   | `/v1/businesses/{businessId}/assets`           | Create an asset from a URL   |
| GET    | `/v1/businesses/{businessId}/assets/{assetId}` | Get the CDN URL for an asset |

### Rate Limiting

This endpoint is limited to **100 requests per second**. If the limit is exceeded, the API will return a `429 Too Many Requests` response.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.connectly.ai/assets/assets-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
