# `save_reference_by_url`

_Saved references_

`write` `30/day`

Save a TikTok/Instagram video or creator profile URL as a brand reference (scrapes it if unknown; video analysis runs in the background). Consumes the daily quota (30/day). Poll with list_saved_references.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `brandId` | `string` | no |  |
| `url` | `string` | yes |  |
| `note` | `string` | no |  |

## Example

### Prompt

```text
Save this TikTok video link as a reference for my brand.
```

### JSON-RPC

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_reference_by_url",
    "arguments": {
      "url": "https://www.instagram.com/p/EXAMPLE/"
    }
  }
}
```

### curl

```bash
curl -X POST https://app.usedalea.ai/api/mcp/mcp \
  -H "Authorization: Bearer dalea_mcp_..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"save_reference_by_url","arguments":{"url":"https://www.instagram.com/p/EXAMPLE/"}}}'
```
